ahaaften
Nintex Newbie

Forms Web Request - Request body failure

Jump to solution

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.

 

2020-09-30_131947.png

 

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

2020-09-30_132319.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.

0 Kudos
Reply
2 Replies
nicksha
Community Manager Community Manager
Community Manager

Re: Forms Web Request - Request body failure

Jump to solution

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.

View solution in original post

0 Kudos
Reply
ahaaften
Nintex Newbie

Re: Forms Web Request - Request body failure

Jump to solution
Perfect! Thanks @nicksha
0 Kudos
Reply