jsingrid
v1.0.4
Published
Node.js wrapper for communicating with the ingrid rest api
Downloads
5
Readme
jsingrid
jsingrid is as Node.js wrapper for communicating with the ingrid rest api.
Example
const jsingrid = require('jsingrid')
let url = "https://example.com/class/operation";
let body = JSON.stringify({});
let config = {
headers: {
"Authorization": "{YOUR_AUTH}"
}
}
jsingrid.send(
url,
body,
config)
.then(function (data) {
console.log("data", data)
}).catch(function (error) {
console.log("error", error)
})