We know when we send data using GET method the variables are sent as query string. But how its done when it is a POST request? The variables is not visible in the url then how it is sent?

The answers is REQUEST BODY and the format it is sent varies based on the form's content type . Usually we set it as application/x-www-form-urlencoded, so the values also sent in the same format. If you use addon like firebug you can visualize the post vaules like this:


Comments (0)
Leave a Comment

loader Posting your comment...