HTTP: How It Is Built A request and a response. Request/response line, headers and a body. Lines delimited by the CRLF characters (0x0d, 0x0a) Browser → Server Specify the method: GET, POST, HEAD, OPTIONS, etc. Specify the location: a URL/URI (Unified Resource Locator/Identifier). Tell the server more stuff how you want the data: headers. Provide […]
The POST request method is designed to request that a web server accepts the data enclosed in the request message’s body for storage. It is often used when uploading a file or submitting a completed web form. In contrast, the HTTP GET request method is designed to retrieve information from the server.
Know your HTTP Headers: HTTP Headers, [pdf] Know your HTTP Methods: HTTP Methods, [pdf]
Two commonly used methods for a request-response between a client and server are: GET and POST. GET – Requests data from a specified resource POST – Submits data to be processed to a specified resource Some other notes on GET requests: GET requests can be cached GET requests remain in the browser history GET requests […]