I am getting data from an API call. The data is an array of objects that looks something like this.
{"articles": [ {"url": "https://www.web.com/url1", "title": "The title of the URL"}, {"url": "https://www.web.com/url2", "title": "The title of the URL"} ]}
I now want to send this data back with a PUT API request. To construct the JSON object, I put the data in a RichTextInput to validate it, like this:
As you can see, the Raw Body Text attribute (which sounds like exactly what I need to construct this JSON) is used.
However, this is how the RichTextInput evaluates:
I have followed the advice of this post to enable “Include errors in response and allow workflow actions to continue” in my API call, but this has not resolved the problem.
Could someone please advise on how to resolve this - or if you have some other way to retrieve the raw JSON for an array of objects, so that they can be forwarded to a third party API service? It appears to me to be a bug with the Raw Body Text feature.
Thank you!