Yes. The request string and request body are two different things in HTTP requests. jQuery wraps data in a query string for GET requests, which is probably a source of confusion
- GET request: the body (or payload) is empty, only the URL contains data.
- POST request: fill in the body as you like, with url encoding, like you, or with json-encoding
user1125394
source
share