In your terminal type:
telnet httpbin.org 80
Hit Enter Key
then type:
GET /xml HTTP/1.1
Host: httpbin.org
Then Hit the Enter Key Twice.
HTTP Response Format
We get
RESPONSE CODES
There are 4 types of response codes
200 – Everthing OK
300- Resource or content has moved..and gives instruction on where to go next.
400 or commonly 404 – not found.
500 means that something went wrong on the server or host.
In closing, remember that HTTP is a stateless protocol. This means that the server requests are not stored and saved for later.