@firstfleet/ffhttp
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @firstfleet/ffhttp

    Weekly Downloads

    3

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    2.62 kB

    Total Files

    5

    Last publish

    Collaborators

    • nathanbelete
    • dwhitak
    • spies36
    • brbeaird
    • grantdaddy
    • jxpatto