Hi,
I'm building a simple desktop flow to connect to an non-public, on prem API - the first stage is authentication. I'm using the Web Service Invoke method.
The Request body of this is JSON, in the format:
{"username":"USERNAME","password":"PASSWORD"}
When I run this, I get an error message back from the API, saying:
{"url":"/MagicInfo/auth","errorCode":"500000","errorMessage":"JSON parse error: Unexpected character ('%' (code 37)): expected a valid value (number, String, array, object, 'true', 'false' or 'null'); nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected character ('%' (code 37)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\n at [Source: java.io.PushbackInputStream@23e0bd3; line: 1, column: 2]","errorDetails":null}
Running fiddler, to inspect the HTTP request, I see that the actual request body is being converted to:
%7b%22username%22%3a%22USERNAME%22%2c%22password%22%3a%22PASSWORD%22%7d
It seems like the ASCII codes for the characters are being passed - and changing the encoding in the advanced settings (e.g. to utf-8) doesn't change this.
Does anybody have any ideas on why this is happening, or any solutions?
Thanks,
Josh