Skip to content

A postman prescript for connecting to HMAC protected API's

License

Notifications You must be signed in to change notification settings

CascadePublicMedia/http-hmac-postman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a prescript for the standalone version of postman to calculate HMAC signatures for accessing HMAC protected API's

Getting Started

  1. Download the standalone version of postman https://www.getpostman.com
  2. Copy prerequestscript.js into postman Pre-request Script Adding Pre-request Script
  3. Add your public and secret keys to the variables at the top of the script Public & Secret
  4. Add the following headers to the Headers tab
Authorization:{{acqHmacHeader}}
X-Authorization-Timestamp:{{acqHmacTimestamp}}
X-Authorization-Content-SHA256:{{acqHmacContentSha}}
X-Authenticated-Id: {{acqAccountID}}

The resulting headers tab should look like this. Headers

Contributing

Contributions to the project are most welcome, so feel free to fork and improve. When submitting a pull request, please try and follow a consistent coding style. The http-hmac-javascript portion of this script be kept in sync with the http-hmac-javascript SDK any changes should be submitted first to the http-hmac-javascript lib then merged here.

More Detailed Instructions can be found in CONTRIBUTING.md

About

A postman prescript for connecting to HMAC protected API's

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%