Hi Jonas,
This is because you are having two curly brackets in the request body of REST call. Can you remove one curly bracket and try again?
Edit: Sorry your issue is not double braces, double braces are fine as mentioned in this post.
The issue is the API requires custom HTTP header. You need to add a custom HTTP header where key= Content-Type and value = ‘text/plain’. See the screenshot below and this should solve your issue.
Hope this helps!
The double bracket works in another case (pls. see below) and I read the double bracket is required to tell mendix that the following text is not a variable.
That’s the error I get when using one opening bracket only:
It looks like the template in Call REST has two opening brackets, when it only needs one.
I would just put {1} in the template, and instead set the JSON body as the parameter value.
I do see a double {{ at the start of the template. Could that be it?
Regards,
Ronald