Skip to main content
Nintex Community Menu Bar

Forms Web Request - Request body failure

  • Sep 30, 2020 7:26 PM UTC
  • 2 replies
  • 30 views
  • Translate All

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
  • Sep 30, 2020 9:58 PM UTC

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.

Translate

Forum|alt.badge.img+5
  • Author
  • Nintex Partner
  • Sep 30, 2020 11:03 PM UTC
Perfect! Thanks @nicksha
Translate