what is a http request code example

Example 1: what is Http

Http Stands for "Hypertext Transfer Protocol."
HTTP is the protocol used to transfer data over the web.
It is part of the Internet protocol suite and defines commands and services used
for transmitting webpage data. ... The HTTP server is typically a web host 
running web server software, such as Apache or IIS.

Example 2: what is http request made of

1-Http request methods : PUT, POST, DELETE,GET
2-Base URI
3-Resources and Parameters
4-Request Header(which carries metaData)as keyValue pair
5-Request Body

Example 3: http request

HTTP request method is made up of four components:
Request Method ==> Get, Post, Put, Delete (these are
the common ones)
Request URL ==> the URL of the resource
Request Header ==> Accept-Language, AcceptEncoding, User-Agent, Host
Request Body ==> This is the data to be sent to the
resource
Request Query Parameters : key value pair 
		 	
HTTP response method is made up of three components:
Response Status Code ==> 200, 301, 404, 500
(these are the most common ones)
Response Header Fields ==> Date, Server, LastModified, Content-Type
Response Body ==> This is the data that comes
back to the client from the server.

Example 4: what is http request

HTTP request method is made up of five components:
Request Method ==> Get, Post, Put, Delete (these are
the common ones)
Request URL ==> the URL of the resource
Request Header ==> Accept-Language, AcceptEncoding, User-Agent, Host
Request Body ==> This is the data to be sent to the
resource
Request Query Parameters : key value pair 
		 	
HTTP response method is made up of three components:
Response Status Code ==> 200, 301, 404, 500
(these are the most common ones)
Response Header Fields ==> Date, Server, LastModified, Content-Type
Response Body ==> This is the data that comes
back to the client from the server.

Example 5: http get request format

GET /hello.html HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE5.01; Windows NT)
Host: www.tutorialspoint.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: Keep-Alive