This setup automatically constructs the HMAC value and populates it in the request header.
Create a key value entry in Headers section to retrieve Authorization
value from environment variable authorization
.
Add pre-request-script file content to Pre-request Script section.
This script calculates the HMAC value based on applicationId, applicationSecret, and hmacAlgorithm environment variables.
Possible options for hmacAlgorithm are HMAC-SHA1, HMAC-SHA256 and HMAC-SHA512.
Modify authorization template
variable based on your application authorization format.