Http Flashcards
Describe and explain the HTTP protocol
Most common. Indicates that a web browser can format and display an HTML file, image file, sound file, etc
Describe and explain the HTTPS protocol
Automatically performs Secure Socket Layer negotiation and always sends data in encrypted form
file
Indicates the file is not a recognized web format and will be displayed as text.
Describe the GET method used in HTTP
The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data
Describe the POST method used in HTTP
A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms
Describe the HEAD method used in HTTP
Same as GET, but transfers the status line and header section only.
Describe the PUT method used in HTTP
Replaces all current representations of the target resource with the uploaded content.
(Storing data on server)
Describe the DELETE method used in HTTP
Removes all current representations of the target resource given by a URI.
(Deleting resource on the server)
Describe the CONNECT method used in HTTP
Establishes a tunnel to the server identified by a given URI.
(Establish a link through a proxy
Describe the OPTIONS method used in HTTP
Describes the communication options for the target resource.
Find out what the server can do
Describe the TRACE method used in HTTP
Performs a message loop-back test along the path to the target resource.
(For debugging connections)
list the request-response interaction
- An HTTP Client opens a connection and sends a request message to an HTTP server. Typically a request is either GET or POST.
- The server then returns a response message, usually containing the resource requested. Typically in XHTML, XML or JSON.
- After delivering the response, the server closes the connection, making the HTTP a stateless protocol. It doesn’t maintain any connection information between the transactions.