Accessing API call responsebody in postscript

Hi Postman Community,

I am trying to access the responseBody from an API call I make inside a test script. I’ve attached a screenshot below of my code and the console output. Can someone tell me what the syntax is for accessing the responseBody with the JSON object?

Ive already tried res.responseBody and res.

Hello @spacecraft-candidat2,


you can try this :blush: