Skip to content

http-request-sync 1.0.0

Install from the command line:
Learn more about npm packages
$ npm install @day1co/http-request-sync@1.0.0
Install via package.json:
"@day1co/http-request-sync": "1.0.0"

About this version

http-request-sync

quick and dirty "synchronous" wrapper of http.request

version

Getting Started

const { httpRequestSync } require('@day1co/http-request-sync');
const res = httpRequestSync('https://some-host.com/get');
console.log(res.statusCode);
console.log(res.statusMessage);
console.log(res.headers);
console.log(res.data);

may the SOURCE be with you...

Details


Assets

  • http-request-sync-1.0.0.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0