The HTTP Client forwarder function forwards data to a third-party HTTP server. You can configure this function to set the values for how the HTTP Client function would behave when communication with the third-party HTTP server, and how to specify the method of communication.
You can configure this function in the following settings.
Connection
Operational settings
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Connection
Depending on your configuration, three authentication methods are available: None, Basic authentication and OAuth 2.0.
When you select an Authentication type, there will be separate configuration options for the selected authentication type.
Rw ui tabs macro | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Add the Target URL of the HTTP request to be made to the HTTP server. You can use Variable Insertion.
Add the Username and Password if there are any. These options are optional. Add the Target URL of the HTTP request to be made to the HTTP server. You can use Variable Insertion.
Add the Target URL of the HTTP request to be made to the HTTP server. You can use Variable Insertion. Check the Use redirect fields check box to enable URL redirection using the available options. Two fields are displayed when this option is enabled – the Target URL field where the designated address is to be entered, and an optional Resource path.
|
Rw ui expands macro | ||||
---|---|---|---|---|
When the OAuth 2.0 authentication type is selected in the Connection section, it is possible to enable Secrets Wallet to apply stored credentials. If Secrets Wallet is not enabled, you configure the following fields.
|
Rw ui expands macro | ||||
---|---|---|---|---|
The OAuth 2.0 parameters section of the function controls the authentication token credentials. If Secrets wallet is not enabled in the OAuth 2.0 credentials section, the following options are for either Password credentials or Client credentials are selected as the Grant Type:
|
Operational settings
In Operational settings, enter the following details that determine how you want the function to behave.
In Maximum number of parallel requests, specify the maximum number of parallel requests that can be handled simultaneously.
In Action on error, specify the action you want to take in case of an error. You can select from the following options:
Any response with the HTTP status code 4xx or 5xx is considered an error. All errors get logged in the system logs. See Logs for more information.
The default value is Ignore.
General settings
In General settings, you select an HTTP request method from the following options:
Note |
---|
Note!*The Body and Form fields are visible only for the POST, PUT and PATCH request methods. See Contents for more information. |
You can select a combination of the following options to be included:
Rw ui expands macro | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Select Body or Form and add the corresponding details in the content of the request message. You can use Variable Insertion.
Expand the examples below to view samples of HTTP request messages for Body or Form:
|