nodehandler-restclient
About
This module installs the REST flow-node to be used within Axway API Builder's flow editor. The flow-node provides methods for the HTTP verbs GET, HEAD, OPTIONS, DELETE, POST, PUT and PATCH.
Common Parameters
All methods have these parameters:
Param | Type | Required | Description |
---|---|---|---|
URL | string | y | The target HTTP URL. |
Headers | object | n | The headers to send with the request. |
Insecure | boolean | n | Do not require the SSL certificates to be valid. Default: False |
Follow redirect | boolean | n | Follow HTTP 3xx responses as redirects. Default: True |
Maximum redirects | integer | n | The maximum number of redirects to follow before aborting. Default: 10 |
Response format: HEAD, OPTIONS, DELETE
These verbs do not respond with a body. The response consists of {status, headers}
.
Response format: GET, POST, PUT, PATCH
These verbs may respond with a body. The response consists of {status, headers, body}
.
Getting started
- Follow the Getting Started Guide
Install
npm install nodehandler-restclient
The "REST" flow-node will then be available in the tools panel when creating or editing Flows.