Inspired by Your Server as a Function, request provides a composable interface for requesting data over HTTP/s
Request: Request => Promise[Response]
Transmit data over HTTP or HTTPS
Options supports the standard node request options as well as the additional:
- secure {Boolean}: enable secure communication over HTTPS, default: false
- timeout {Number}: request socket timeout in milliseconds, default: 15000
- data {Buffer|String}: data to write to the request, default: undefined