AnsweredAssumed Answered

Sending XML as a query parameter in a HTTP POST

Question asked by jphan393017 on Mar 14, 2018

Hi All,

 

I am having trouble sending a HTTP POST to an API that requires a XML doc to be passed in as a key-value pair, of content-type: x-www-form-urlencoded. I'm using a generic HTTP connector with the correct connection configurations, however I am getting a 500 error response after sending my request. I am using a "set properties" shape and passed the XML doc on as "current data". I have also tried passing a url encoded version of my XML doc as a "static" value. I was wondering if anyone has experienced a situation like this before.

 

I was successful sending a HTTP POST with Postman, so there shouldn't be any problem with my data or the endpoint. Any help would be much appreciated.

 

Thanks!

Outcomes