4RequestA request message fromclient to a server within the first line of that message, the method which isapplied to the resource, the identifier of the resource and protocol virsion inuse. Request =Request-Line *((general-header |request-header | entity-header) CRLF) CRLF message-body 4.1Request-LineThe Request-Line startswith a token method which is followed by the Request-URI and the protocolversion. And ending with CRLF. The elements are divided by SP characters. In thefinal CRLF sequence no CR or LF is allowed.
Request-Line = Method SP Request -URI SP HTTP version CRLF 4.1.1 Method 1.GET The GET method used to get information from server using theselected or given URI. Request using GET will only get data.
2.HEAD Itis same as GET but it transfer the status line and the header section only. 3. POSTItis used to send data to the respective server, information or data like customerdetail, file upload, etc. by HTML forms.
4. PUTItis used to interchange all the current representation of target resource andthe content which is uploaded. 5. DELETE Deleteall the recent representation of target resource of URI. 6.
CONNECT Establisha connection to the server given by URI. 7. OPTIONS Explainthe communication options available for the targeted resource. 8. TRACE Itis used to look back test for message with the path to the source.