I tried sending a get request to an API which returns a JSON format that I need to read from the endpoint.
An example of the response is:
" room charges",
I’ve created this script in Groovy and it definitely works because it’s not using the fallback answer output.
However, the only result I ever get back is “false” and verification with Postman shows the API endpoint is functioning. I’m not exactly sure what is the error here. Image of the Groovy script I’ve wrote is attached below!