Skip to main content

Hi, I have an error with my Web Request control. Every time I save the control, the "Request body" gets saved as a single line. Resulting in a request response HTTP 400.


 


9127i6464DAAEB0EE43AB.png


 


When I remove the Request body and insert it again from text the request response is fine.


9129i225AC87EF2595B80.png


 


Whenever I save and publish the form the output stays blank, it keep messing up the Request body. When I change it to input from a "Named control" and manually do it from the form, it works fine. But I can't ask my users to input the XML themselves 🙂 


 


Any solution? Am I doing something wrong?


 


Thanks.

Hi @ahaaften If you put the entire request on one line (or 'minify' it) the request should stop reading the spaces between some of the XML nodes and send the request properly.


Perfect! Thanks @nicksha

Reply