davetemplin / web-request

Simplifies making web requests with TypeScript async/await
MIT License
35 stars 8 forks source link

Can't send delete request with an entity body #13

Open sandokanelcojo opened 7 years ago

sandokanelcojo commented 7 years ago

I know is not the best idea to add a body to a delete request, but sometimes some APIs require to get some more info attached (this is my particular case right now).

Could you please add the possibility of having the body sent through web-request?

There is a discussion in StackOverflow on the subject that you might find interesting. http://stackoverflow.com/questions/299628/is-an-entity-body-allowed-for-an-http-delete-request