Saturday, July 23, 2016

HTTP Verbs | HTTP Methods- Brief introduction


  • GET 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.
  • HEAD Same as GET, but only transfer the status line and header section.
  • POST A POST request is used to send data to the server, for example customer information, file upload etc using HTML forms.
  • PUT Replace all current representations of the target resource with the uploaded content.
  • DELETE Remove all current representations of the target resource given by URI.
  • CONNECT Establish a tunnel to the server identified by a given URI.
  • OPTIONS Describe the communication options for the target resource.
  • TRACE Perform a message loop-back test along the path to the target resource.


NOTE: URI is a string of character used to identify a resource