Reputation: 2453
As we know, GET method sends data via URL. We can use both GET and POST method in ajax. My question is, why can't we see the data in URL when we use ajax with a GET method?
Upvotes: 1
Views: 1422
Reputation: 27247
When you fire off your ajax request like this:
The Chrome network tab will show new line for this transaction:
If you click on it, it will show you all the details:
If you'd like more information on constructing your own querystrings, look at this other question: How to build query string with Javascript
Upvotes: 1
Reputation: 1476
AJAX call is not visible through url.
Try to use firebug extension of firefox.
In firebug, you will find all request in console.
Upvotes: 3