shoptimiza-http-client

1.0.2 • Public • Published

pipeline status coverage report

Shoptimiza HTTP client

Install

npm install shoptimiza-http-client

Usage

const {get} = require('shoptimiza-http-client');

get(apiKey, sharedSecret, url, function(err, result){
	if(err){
		...
	}
});

get Will retry (up to 5 times) in case of error due to a server error or time difference between client and server.
An exponential backoff strategy will be applied on server errors.

Readme

Keywords

Package Sidebar

Install

npm i shoptimiza-http-client

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

64.5 kB

Total Files

15

Last publish

Collaborators

  • p.revington