Hi, there! I’m newbie in Postman and I’m having an error i’m unable to solve. I’ve looked already for an answer but I haven’t found a topic that could help me.
I’m trying to launch a Pre-request Script in JSON but I always see the same error: “SyntaxError: Unexpected token ‘<’”
I’m trying to download a package from an application and it’s seems not worked.
It seems to work (the result above), I close the request, thank you very much for the answer @danny-dainton !
Just a quick question before closing: do you know where it goes when it’s ok? i.e. how do I visualize the result? do I need to create an additional script?
The response from that request, would be in the Pretty/Raw/Preview tabs on the same line as Visualize. I don’t know what your response looks like to know if it could be visualised.
You would need to add a seperate script (manually or using Postbot) to your Tests section, in order to display a visualized response.
More information on this can be found on our learning center: