I am using
$.ajax({
url: "http://twitter.com/status/user_timeline/treason.json?count=10&callback=?",
success: function (data, textStatus, jqXHR) {
},
error: function (jqXHR, textStatus, errorThrown) {
},
dataType: "jsonp"
});
How do I know it is using GET or POST?
By default it is GET
You can override it by specifying the type parameter value.
You can also set it up globally at the
$.ajaxSetupmethod so that all ajax calls use that setting unless Override it.So if you do not have an
$.ajaxSetupsection where you are setting it, The answer for your Question is GET