feignjs-request
v0.0.6
Published
feignjs request.js integration
Downloads
9
Readme
Feignjs-request
Installation
npm install feignjs-request
Getting started
this library can be used as client for feign:
feign.builder()
.client(new FeignRequest())
.target(restDescription, 'http://jsonplaceholder.typicode.com');
Options
The constructor accepts an options-object:
| Option | Note | default |---|---|---| | debug | enabled debug logging in request | false | | json | configures request to use json | true | | defaults | a default-request object (passed to request.defaults) | null |