All Projects → acquia → http-hmac-postman

acquia / http-hmac-postman

Licence: MIT license
A postman prescript for connecting to HMAC protected API's

Programming Languages

javascript
184084 projects - #8 most used programming language

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].