How can I display the complete request sent to the server from a $.get request,
my request is as follows:
$.get("http://api.yelp.com/business_review_search",
{
'ywsid': xxxx',
'term': term,
'limit': 20,
'location': location,
'category': category
}, function add(data, textStats, jqXHR) {----}}}, 'jsonp');
Here I want to display the exact request sent to the server on the webpage.
I had a similar problem ,
I tried to look into the ajax function in the jquery javascript file. There is a variable “s” in this function. s.url will give the call request made with the data n parameters,