rest-loader
v1.0.3
Published
The best module ever.
Downloads
17
Readme
The best module ever.
Install
$ npm install http-loader --save
##Description This is a standard REST API loader for use with the chrysalis framework: [https://github.com/APPrise-Mobile/chrysalis]
Usage
Initialize the loader with a url. The loader with hit this url with a POST request and the data supplied to the loader through the chyrsalis framework.
var httpLoader = require('http-loader');
var chysalis = require('chrysalis');
var createUrl = 'http://rest-api-create-url.com'
var loader = httpLoader(createUrl);
var chrysis = chrysalis();
chrysis.setLoader(loader);
License
MIT © APPrise-Mobile