1.0.2 • Published 6 years ago

shoptimiza-http-client v1.0.2

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
6 years ago

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.

1.0.2

6 years ago