cookieChoices = {};
Get and Post Methods
GET Method:
- All the name value pairs are submitted as query string.
- Its not secured as it is visible in plain text format in the location bar of the web browser.
- Length of the string is Restricted.
- If the method is not mentioned in the form tag , this is th default method used.
- If the get method is used and if the page refreshed it would not prompt before the request is submittted again.
POST Method:
- All the name value pairs are submitted in the Message Body Of the Request.
- Length of the string is Not Restricted.
- Post Method is Secured because Name-Value Pairs cannot be seen in location bar of the web server.
- If the Post method is used and if the page refreshed it would prompt before the request is submittted again.
No comments:
Post a Comment