What is the difference between GET and POST methods?

Possible duplicate:
When do you use POST and when do you use GET?

I know the main difference between the GET and POST methods. That is, we can see the URL parameters in the case of GET and cannot see the URL parameters in the case of POST. Of course, we can transmit a huge amount of POST data, which is not possible through GET.

Are there other differences between the two methods?

+4
source share
2 answers

GET is for data retrieval only. You can clarify what you are getting, but this is a read-only setting, and yes, since you mentioned that everything that is used for clarification is part of the URL.

POST is designed to send data, but it’s usually a way to “break up” the simple operation of HTML, since you can’t guarantee anything that happens, it can simply retrieve data, send data, or delete data.

There are also PUT and DELETE in the HTML standards, but this is all about finding web servers that also support these actions. Because names imply that PUT sends data to create or update, while DELETE is designed to delete data.

Enjoy! :)

+10
source

Other implementation differences in GET and POST:

  • they have different coding schemes. multipart / form-data for POST only
  • POST result cannot result in actual page.
  • URL restriction requires POST
  • If you use the HIDDEN inputs on the form, then sending a GET request shows these inputs
+2
source

All Articles