Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

InvokeHttp processor doesn not send body on DELETE

InvokeHttp processor doesn not send body on DELETE

New Contributor

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!



Re: InvokeHttp processor doesn not send body on DELETE

@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:



Some apis could be:



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).





If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.  




Don't have an account?
Coming from Hortonworks? Activate your account here