HTTP Request
Most recent version: v0.0.1
Last updated
Was this helpful?
Most recent version: v0.0.1
Last updated
Was this helpful?
See the changelog of this Action type .
The HTTP Request action allows you to configure and execute HTTP requests with custom settings for methods, headers, authentication, TLS, and more.
In order to configure this action, you must first link it to a Listener. Go to Building a Pipeline to learn how to link.
These are the input and output ports of this Action:
To open the configuration, click the Action in the canvas and select Configuration.
Enter the required parameters:
HTTP Method*
The HTTP method for the request. Choose between GET, POST, PUT, DELETE, or PATCH.
Server URL*
The target URL for the HTTP request.
Field that holds the request body
Enter the name of the field that includes the request body.
Field where the response will be stored
Enter the name of the field that will store the HTTP response.
HTTP Headers
Optionally, you can enter a map of header key-value pairs to include in the request.
Timeout (seconds)
Enter the timeout for the HTTP request in seconds.
Disable Redirects
Select true to disable HTTP redirects or false to ignore.
Content-Type
Set the request content-type:
text/plain - Plain text with no formatting.
application/json - Data in JSON format. This is the default value.
application-xml - Data in XML format.
text/html - Data in HTML format.
Authentication Configuration
Choose the type of authentication for the request.
Authentication Type*
Choose between None, Basic, Bearer, or API Key.
Authentication Credentials
Depending on the option you chose above, you must enter the required authentication information in this section:
Basic Authentication
Bearer Token
API Key
Bulk Configuration
Configure these options if you want to set bulk sending in your HTTP requests:
Events per batch
Set the number of individual events per bulk request.
Store as
Decide how to store events in your responses. Choose between:
Delimited - Events in a batch are stored separated by a delimiter. Set the required delimiter in the option below.
Without Delimeter - Events are concatenated without any separator.
JSON Array - Events are structured in a JSON array.
Delimiter
Enter the delimiter between your events. The default option is newline (\n
).
Rate Limiter Configuration
Establish a limit for the amount of HTTP requests permitted per second.
Number of requests per second
Enter the maximum number of requests that can be sent per second. The minimum is 1.
TLS Configuration
Optionally, you can specify the TLS configuration of the Data sink. If empty, then TLS will be disabled for the Data sink.
Certificate
Choose the predefined TLS certificate.
Private Key
The private key of the corresponding certificate.
CA Chain
The path containing the CA certificates.
Minimum TLS version
Minimum TLS version required for incoming connections. The default version is v1.2
Proxy Configuration
If your organization uses proxy servers, set it using these options:
URL
Enter the required proxy URL.
Username
Enter the username used in the proxy.
Password
Enter the password used in the proxy.
Retry Configuration
Set how you want to manage retry attempts in case of errors in the requests:
Max Attempts
Set the maximum number of attempts before returning an error. The minimum value is 1.
Wait between attempts
Choose the milliseconds to wait between attempts in case of an error. The minimum value is 100.
Backoff interval
Define how the wait time should increase between attempts, in seconds. The minimum value is 1.
Click Save to complete.
Click Save to complete.
Username and Password for basic authentication. For the password, choose one of the secrets defined in your Tenant or create a new one by clicking New secret. Learn more about secrets .
Token for Bearer authentication. Choose one of the secrets defined in your Tenant or create a new one by clicking New secret. Learn more about secrets .
Define the API Key Name and API Key for API Key configuration. For the API key, choose one of the secrets defined in your Tenant or create a new one by clicking New secret. Learn more about secrets .