HttpClient also supports all other HTTP Verbs that exchange data with the server, namely: head, post, put, patch, and delete. Descriptions of these are as follows:
- get performs an HTTP get, already described previously in this section.
- head performs the same action as get, but it returns a response without a body; that is, it returns just the appropriate headers. It has the same usage and syntax of get, but the body is empty.
- delete destroys a resource on the server. The information needed to identify the resource to destroy is passed as URL parameters. The server may, or may not, return an entity describing the status after the action has been executed on the server. If the server returns a status entity, the ...