sajad torkamani

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
Tagged: HTTP

Leave a comment

Your email address will not be published. Required fields are marked *