@qantas/request-client
is a proposed node.js library to simplify making web API calls. It is an extention of request and request-promise. The extensions make it easy to:
- auto-retry API calls which don't return 2xx status codes and
- integrate with the Qantas WSO2 API gateway
As this library is an extension request
, all configuration options which are available there are also available here. In addition, you may provide middlewares to shape the final options
object which is ultimately passed to request
.