next-httpclient

1.1.0 • Public • Published

Next HTTP Service

const httpService = require('next-httpclient');

const res = await httpService.get('https://someurl/');

// Content-Type is set to application-json by default
const res = await httpService.post('https://someurl/', {
  options
});

/next-httpclient/

    Package Sidebar

    Install

    npm i next-httpclient

    Weekly Downloads

    3

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    1.17 kB

    Total Files

    3

    Last publish

    Collaborators

    • cksharma11