Difference between GET and POST
This is one of the good interview Question
- Not secure. Because, any one can see data.
- Very fast.
- Max we can pass 255 characters through query strings to server.
- Request data is the part of URL.
- GET data is visible to the user.
- Uploading files is not posible through GET method.
- Changes on data will lost after server encoding.
- Get can be used with POST.
- We can bookmart Get in the browser.
- This is use stack method for passing form variables.
- Get can store only 18 form variables.
- This is default method in form submission.
- Handling of special characters in the key value pair is difficult.
- Data should be in the form of text only.
POST :
- Secure. It is very difficult to see the post request.
- Compare to GET method, POST is slow.
- There is no limit for data transfer.
- Request data is part of http request.
- POST data is not visible to the user.
- Uploading files is possible through POST method.
- Data is available after server encoding also.
- browser can't book mark this POST request.
- POST is using HEAP method for passing variables.
- POST can store unlimited form variables.
- We have do define explicitly while sending request to the server.
- We can handle special character easily using POST method.
- We can send any data using POST.
If any other differences please write in comments sections.
Post a Comment
Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.