README
api-builder-plugin-fn-restclient
About
This module installs the REST flow-node plugin 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 --no-optional @axway/api-builder-plugin-fn-restclient
The "REST" flow-node will then be available in the tools panel when creating or editing Flows.
Changes
2.0.27
CVE-2021-3918 and removed the dependency on the
7155: Fixed issue withrequest
library.
2.0.26
7057: Updated documentation links.
2.0.25
7034: Internal refactor of unit-tests.
2.0.24
7010: Internal refactor of unit-tests.
2.0.23
6934: Internal refactoring around code style.
2.0.22
6416: Migrate fromaxway-flow-sdk
to@axway/api-builder-sdk@1.0.0
.
2.0.21
6315: Internal chore.
2.0.20
6277: Internal bump
2.0.18
6265: Fixes in the readme.
2.0.17
6116: Internal cleanup chore.
2.0.16
6074: Internal CI chore
2.0.9 - 2.0.15
5891: Bumpaxway-flow-sdk
dependency
2.0.8
5742: Fix issue whereaxway-flow-sdk
dependency was out of sync with the latest.dot
security warning is now resolved.
2.0.7
5711: Internal cleanup of npm scripts.
2.0.6
5708: Internal changes to update mocha configuration
2.0.5
5709: Internal changes to update eslint rules.
2.0.4
5707: Internal cleanup to code coverage during build process.
2.0.3
5742: Updateaxway-flow-sdk
dependency to remove security warning aboutdot
package.
2.0.1
5515: Fix REST response encoding typo.
2.0.0
5436: Breaking Change: Moves advanced HTTP options into a new group, "Advanced HTTP Options" (minimum peer dependency @axway/api-builder-runtime 4.5.0)
1.2.0
5172: Support downloading binary files in REST node.
1.1.0
5178: Adds support for communication via proxy server. It takes into account the value of config parameter namedproxy
which must contain the location of a proxy server through which communication is tunneled. Basic auth is also supported if the value of the proxy is of the format - 'protocol://username:password@location:port'
1.0.14
5050: Updating license text.
1.0.8
4757: Changed SCM repository and associated internal cleanup.
License
This code is proprietary, closed source software licensed to you by Axway. All Rights Reserved. You may not modify Axway’s code without express written permission of Axway. You are licensed to use and distribute your services developed with the use of this software and dependencies, including distributing reasonable and appropriate portions of the Axway code and dependencies. Except as set forth above, this code MUST not be copied or otherwise redistributed without express written permission of Axway. This module is licensed as part of the Axway Platform and governed under the terms of the Axway license agreement (General Conditions) located here: https://support.axway.com/en/auth/general-conditions; EXCEPT THAT IF YOU RECEIVED A FREE SUBSCRIPTION, LICENSE, OR SUPPORT SUBSCRIPTION FOR THIS CODE, NOTWITHSTANDING THE LANGUAGE OF THE GENERAL CONDITIONS, AXWAY HEREBY DISCLAIMS ALL SUPPORT AND MAINTENANCE OBLIGATIONS, AS WELL AS ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING BUT NOT LIMITED TO IMPLIED INFRINGEMENT WARRANTIES, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, AND YOU ACCEPT THE PRODUCT AS-IS AND WITH ALL FAULTS, SOLELY AT YOUR OWN RISK. Your right to use this software is strictly limited to the term (if any) of the license or subscription originally granted to you.