Skip to main content
Nintex Community Menu Bar

Forms Web Request - Request body failure

  • September 30, 2020
  • 2 replies
  • 17 views

Forum|alt.badge.img+5

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.

2 replies

Forum|alt.badge.img+9
  • Nintex Employee
  • September 30, 2020

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.


Forum|alt.badge.img+5
  • Author
  • Nintex Partner
  • September 30, 2020
Perfect! Thanks @nicksha