Interview questions, answeredLesson 011 min
Interview question: what is the difference between GET and POST?
GET and POST are HTTP request methods. GET asks for information, and the standard calls it safe: the client does not expect any change on the server. POST sends data to be processed, such as a form or an order, and can change things on the server. So POST is not idempotent: sending the same request twice can do the work twice, and a proxy must not retry it automatically.
Remember
Use GET to look things up, and POST to create or change something.
