Http-connector not sending payload on DELETE methods

Hi, we have been using http-connectors in the Business Flow to call REST APIs successfully. But so far we only worked with GET, POST, PUT.

However there is an Endpoint with HTTP DELETE method that requires a payload to be included in the request body, and it seems that the Payload which is configure in the connector (together with the URL, Method and Headers) is not being sent.

Is this a known behavior?

Thanks
Rodrigo

Hi Rodrigo,

Camunda connect uses the Apache HTTP Client to send requests. Apache HTTP client does not allow to set a payload on a DELETE request. As far as I know is there no clear semantic for a message body on a DELETE request and the RFC 2616 states:

if the request method does not include defined semantics for an entity-body, then the message-body SHOULD be ignored when handling the request.

So I assume this is expected behavior.

Cheers,
Sebastian

Thank you Sebastian.

Regards!