Vinelab / http

A smart, simple and fault-tolerant HTTP client for sending and receiving JSON and XML
57 stars 30 forks source link

Adding support for custom request methods #5

Closed nickma42 closed 9 years ago

nickma42 commented 9 years ago

Calls such as Client::delete(Request) were still making the request as a GET despite the delete() call being used. Adding a line to the cURL request to set the request method appropriately.