[ resolved] Changing a response to an array or an object instead of a string

Options
I have a POST API setup that posts three inputs and encrypts each one. The API runs fine in XANO but is running into an issue with my front-end. 

The front-end team have identified that the issue is that the API returns the crypto_1 variable as a string, and that this needs to be changed to an array or an object. 

I feel like the above is a simple change but I cannot figure out how to implement it. Any help would be greatly appreciated!

I've attached screenshots of the endpoint and the overview of the change that needs to be implemented:
[Screenshot 2021-11-07 at 10.31.29.png][Screenshot 2021-11-07 at 10.33.40.png]


Thanks!

Comments