Hello, guys, I am now testing GraphQL API, and the same as restful API, I want to save the token and set it to variable.
But when I use the “let response = pm.response.json();”, an error occurs,
“pm.response.json is not a function”.
This happens only when I use the GraphQL basics template to send the request. If I use the regular way : new collection→Add a request… this error will not occur. I do not know where is wrong.