4 are divided by SP characters. In the

4
Request

A request message from
client to a server within the first line of that message, the method which is
applied to the resource, the identifier of the resource and protocol virsion in
use.

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

            Request      =
Request-Line                

                                    *((general-header |
request-header | entity-header) CRLF)

                                     CRLF message-body

 

4.1
Request-Line

The Request-Line starts
with a token method which is followed by the Request-URI and the protocol
version. And ending with CRLF. The elements are divided by SP characters. In the
final 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 the
selected or given URI. Request using GET will only get data.

             2.HEAD

                        It
is same as GET but it transfer the status line and the header section only.

               3. POST

It
is used to send data to the respective server, information or data like customer
detail, file upload, etc. by HTML forms.

               4. PUT

It
is used to interchange all the current representation of target resource and
the content which is uploaded.

               5.  DELETE

                        Delete
all the recent representation of target resource of URI.

               6. CONNECT

                        Establish
a connection to the server given by URI.

               7. OPTIONS

                        Explain
the communication options available for the targeted resource.

               8. TRACE

                        It
is used to look back test for message with the path to the source.

 

 

 

                        

Comments are closed.