Difference between post and get

What is the difference between post and get. Can you please explain?

Hey @Mohit2000, HTTP is a set of protocols designed to enable communication between clients and servers. It works as a request-response protocol between a client and server.
A web browser may be the client, and an application on a computer that hosts a web site may be the server.

So, to request a response from the server, there are mainly two methods:

  1. GET : to request data from the server.
  2. POST : to submit data to be processed to the server.

For detailed explanation I am attaching the links below. Please go through them once :

  1. POST and GET requests using python
  2. GET Vs POST request

I hope this clears your doubt !
Please mark the doubt as resolved in your doubts section ! :+1:
Happy Learning ! :smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.