README
FFHTTP
This is our libary that wraps HTTP Calls
Installation
npm install @firstfleet/ffhttp --save
Usage
let loadRequest = { method: 'post', url: 'http://myurl.com/poststuff', headers: { Authorization:
Bearer ${myToken}}, data: {info: '12345'} } await ffHttp.callHttp(loadRequest);
await ffHttp.post('http://postURL.com', {myData: 1});