What can I do if my HTTP client doesn't support the methods 'PATCH' or 'DELETE'?

There are clients that do not support the HTTP methods PATCH or DELETE.

As all clients are supporting GET and POST, we implemented the possibility to use the method POST with a special header, such that the request is treated either as PATCH or DELETE by the finAPI servers.

The header's name is: X-HTTP-Method-Override

The possible values are: PATCH or DELETE

Attention: This does not work for the method GET, but only POST can be overwritten.

Example:

X-HTTP-Method-Override: PATCH
POST /api/v1/label/51
{"name": "changed label"}

Will be transformed to:

PATCH /api/v1/label/51
{"name": "changed label"}

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk