HTTP Request Response Basics

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 […]

Read More

What is the difference between a GET and a POST?

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.

Read More

What’s the difference between a POST and a GET?

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 […]

Read More