delphi-rest-client-api icon indicating copy to clipboard operation
delphi-rest-client-api copied to clipboard

TResource.Delete() method change request.

Open IgorKaplya opened this issue 4 years ago • 0 comments

Hi, @fabriciocolombo and team. Thank you for your work. I'm Igor and I'm a Delphi dev. Currently I'm working on API integration which returns content on DELETE method. This PR:

  • adds possibility to handle API response for Delete.
  • fixes situation when http errors (for example 404) don't trigger Client OnError.
  • updates java-rest-server controllers for proper working with unit tests.

Because I'm assuming absense of "@produces" on DELETE methods in controllers is a bad server side design. It should not be hacked on client side as we did.

Please consider PR #135. It fixes java-rest-server compilation for JDK 1.8.

IgorKaplya avatar Mar 14 '20 20:03 IgorKaplya