I’m working on Day 29 of the 30 days of postman - for developers.
The pre-request script appears to see the global.previousRequest variable but it is undefined.
Any idea what I am missing?
I’m working on Day 29 of the 30 days of postman - for developers.
The pre-request script appears to see the global.previousRequest variable but it is undefined.
Any idea what I am missing?
Found that the monitor is being created in “My Workspace” rather than my “30-days-of-postman” workspace. The “Create webhook” call has the correct {{workspaceId}} so I’m not sure how it ends up in the wrong place.
Okay, I typed the param as “workspaceId={{workspaceId}}” rather than “workspace=”{{workspaceId}}"
Second issue is that I was thinking I should run the monitor rather than running the Trigger Webhook and checking the results in the monitor.
I hope that helps someone.