Created 04-29-2020 03:09 AM
We noticed from source code that request body is not included on DELETE request.
In our case target API reqiures a body on DELETE request.
Is there any way to workaorund this?
Many thanks in advance!
Created 04-29-2020 01:17 PM
@mzidy Have you tried to append the data you want to pass in the Remote Url? Some Apis will accept the values in the $_GET request.
For example:
DELETE: https://api.cloudera.com/api/service/?value1=value1&value2=value2
Some apis could be:
DELETE: https://api.cloudera.com/api/service/1/2/
In both these examples the $_GET variables are used not a $_POST. I believe this may be typical for most DELETE calls and may explain why DELETE doesn't send a $_POST (body).