Methods


This client module provides the following methods:

Method Description
GET Retrieves the information identified by the Request-URI.
HEAD This is identical to GET except that the server returns only the metadata held in the HTTP headers. It does not return the message body itself. This is useful for obtaining metadata about an entity without transferring the body of the entity itself.
POST Requests that the origin server accept the specified entity as a new subordinate of the resource identified by the Request-URI in the Request-Line. This method is used, for example, to post to a forum.
PUT Requests that the enclosed entity be stored under the supplied Request-URI.
DELETE Requests that the server delete the resource identified by the Request-URI.