http-shortcut
http-shortcut
is a simple node.js library for small http requests.
Example
const httpRequestF = ; const requestOptions = protocol: 'https:' hostname: 'api.example.com' port: 443 method: 'POST' path: `/v1/events`; const evt = foo: 'bar'; ;