HTTP request format
11 March 2022 (Updated 11 March 2022)
Once a TCP connection has been established between a client and server process, the client can send a HTTP request in the following format:
[method] [url] [version]
[headers]
[body]
Example request:
GET / HTTP/1.1
Host: example.com # header
User-Agent: curl/7.64.1 # header
name=Sajad&age=28 # body
Related
Tagged:
HTTP
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment