This is an postman collection template which we are using accross multiple project. Template has logic in pre-request scripts for whole collection and in post-request script for Login Request.
This template shows how to:
- perform automatic login before every request
- store token after using Login Request
- add headers to each requst in pre-request script
- shows how to calculate HmacSHA256 Digest
- shows how to fire request before request
- shows how to store response to environment variable in post-request script
- shows how to work with Environment Variables
Do not forget to include Environment file and check out pre/post request sripts for collection and login.