How can I copy a non Json response to a Variable in the tests
I have just done it to the console to see if I can get the info to at least show there
I have tried a lot of different ways a few of the json.parse but I then get a JSON error
JSONError: Unexpected token āeā at 1:1 or āundefinedā for the non JSON ways
How I found the problem
Run a request and then tried to copy the body of the response (which is a token) to a environment variable.
Iāve already tried:
I have looked around on different ways (most are for JSON)
On how to do this but they all come back with an error or with āundefinedā