TRestClient - allow Request Body for DELETE and GET

TRestClient - allow Request Body for DELETE and GET

modern real world REST APIs do use Request Body for DELETE and GET. A typical example is a API call for deleting a larger list of elements calling URL ../assets/bulk with a Json StringList and a DELETE
(example of the API within www.collibra.com)

The link https://stackoverflow.com/questions/14323716/restful-alternatives-to-delete-request-body does describe the pro and contra. But the fact is, that this syntax is valid and used. We cannot change any of the large APIs.

I did some research and made the code running with a few small patches.
(see https://quality.embarcadero.com/browse/RSP-20407).

Now I can finish my project release using TRestClient!

Comments