Page 1 of 1

Save Request Body from 'REST Client' action

Posted: Wed Jan 15, 2025 12:22 pm
by sarnusch
Hello,
for debugging purposes I would like to see the real request body from a 'REST Client' action.
Is it possible to save the complete request to a variable or a file?

UPDATE - 16.01.2025
I am having trouble sending characters like ä, ö, ü, ... in name fields.
The target server then creates an error code 500, 'Internal Server Error'.

Re: Save Request Body from 'REST Client' action

Posted: Thu Jan 16, 2025 12:37 pm
by Oleg
REST Client/Invoke Web Service action sends the request body as it is. It does not make any transformations.
Do you want to simulate web form data or are you sending JSON data?

JSON requires UTF8 encoding. You can not send non-ASCII symbols explicitly. Use TXT UTF-8 Conversion action to encode to UTF-8
Web form data requires HTTP encoding (content-type: application/x-www-form-urlencoded). Look at the action HTTP encode / decode. You can not send non-ASCII symbols explicitly too.

Maybe you can send you problem task to me by email. I want to take a look