What is HTTP
HTTP is a protocol used when web server is in communicating information like documents written by HTML with client.
HTTP method
GET
The GET
method requests resource specified URI.
If URI is file name, return contents of that file.
If URI is program name, return output of program.
POST
The POST
send data of set of name and value pairs from client.
Use when it send form data in HTML.
HEAD
The HEAD
method is same as GET
method, but return only HTTP header and no document body.
PUT
The PUT
method replace file on server specified URI.
DELETE
The DELETE
method delete file on server specified URI.
OPTION
The OPTION
method return the HTTP methods that the server supports.
CONNECT
The CONNECT
method converts the request connection to a transparent TCP/IP tunnel.