An HTTP request is used to communicate with servers. The following information is needed for the request:
Method : The action you want the server to do. The most common methods are:URL : The address of the server where the request should be addressed.Headers : The headers are specification of the request. For example, specifying the type of file you want from the server. You can find a list of possible Headers for your request in this Wikipedia article.Body (optional) : Used to store data you want to send to the server, for example in a POST method request.
- GET (obtaining an object)
- POST (sending an object to the server)
- DELETE (deleting an object from the server)
Read more...