Hi, I’ve followed the instruction in Trigger collection runs using webhooks | Postman Docs, and have created and triggered the webhook successfully.
Per the article, ‘When you trigger the webhook, the previousRequest
global variable is temporarily created’ - this is a critical variable to print out the contents of the body - and the post-script could access it just fine.
The challenge I have now is to access the request header sent to this webhook - I tried previousHeader which shows up in the intellisense (i.e. globals.previousHeader) but does not seem to work
.
Anyone has any idea if this is something that’s achievable?