Skip to content

Postman Pre-request Script generator for Escher authentication

Notifications You must be signed in to change notification settings

sda0/escher-postman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postman Pre-request Script generator for Escher authentication

Usage

In Postman, create an environment with your Escher details:

escher-credentialScope: ingatlancom
escher-accessKeyId: moderation_icom_v1
escher-apiSecret: abcd1234

Copy the contents of the postman-pre-request.js file to the Pre-request Script tab.

Add the following headers to the request:

X-Escher-Auth: {{auth}}
X-Escher-Date: {{date}}

Development

Install requirements

npm install

npm install -g browserify

Generate pre-request script

browserify node-postman.js > postman-pre-request.js

Debug

You can test the endpoint with client.js using node.

Sometimes you have to play with Postman Interceptor settings.

About

Postman Pre-request Script generator for Escher authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published