By design, the POST request method requests that a web server accept the data enclosed in the body of the request message, most likely for storing it . It is often used when uploading a file or when submitting a completed web form. In contrast, the HTTP GET request method retrieves information from the server.