Check_Point
156-521 · Question #196
You've received a session token from /login. How do you use it in a Postman collection?
The correct answer is C. Assign it to a global or environment variable. The best practice is to store the session token in an environment variable (e.g., {{session}}) using a test script. It can then be injected into the X-chkp-sid header for all other requests.
Security Management API Operations
Question
You've received a session token from /login. How do you use it in a Postman collection?
Options
- APaste it into each request body
- BUse it in the Authorization tab as Basic Auth
- CAssign it to a global or environment variable
- DIgnore it unless running scripts
How the community answered
(24 responses)- A17% (4)
- B8% (2)
- C71% (17)
- D4% (1)
Explanation
The best practice is to store the session token in an environment variable (e.g., {{session}}) using a test script. It can then be injected into the X-chkp-sid header for all other requests.
Topics
#session token#environment variables#Postman collection#token reuse
Community Discussion
No community discussion yet for this question.