HTTP Request / body error when passing code

Hello,

I’m trying to make a post request to an external API, where the body is a JSON snippet, using the HTTP request action.

Doing it in postman works perfectly, however I get an error in ui bakery (‘unexpected identifier’ - sounds like a parsing issue?).

The issue is definitely with the body, as my API accepts requests without body, and these work as intended. I also set the call to be application/json, and both raw / JS Object give me an error.

Any ideas what I’m missing here?
Thanks

Edit: I’ve isolated the issue - my post request includes a code snippet which I assume isn’t escaped properly - if I remove it the request goes through successfully.

Hi @eman!

Thank you for reaching us!
Could you please share the link to API, you can send it to my email artem@uibakery.io.
Are you using app.uibakery.io or cloud.uibakery.io?