Indy icon indicating copy to clipboard operation
Indy copied to clipboard

Add overload for TIdHTTP.Delete() to send body data

Open rlebeau opened this issue 4 years ago • 1 comments

Some REST APIs, like Spotify, use DELETE commands that require a request body:

https://developer.spotify.com/console/delete-playlist-tracks/

To make this easier to work with, TIdHTTP should expose TStrings and TStream overloads of the Delete() method to call DoRequest() with body data.

rlebeau avatar Jan 07 '20 00:01 rlebeau