Direct Web Request component URL
Description
Allows you to perform HTTP and HTTPS requests to Web services by arbitrary URL.
Supports HTTP methods GET, POST, PUT, HEAD, DELETE with and without content. Supports sending asynchronous requests and requests with pending responses.
In case of an error, the transition is made along the "Error" branch, and the corresponding code is returned to the "Error code" variable HTTP.
The component supports working in sessions, storing and using cookies, as well as HTTPS and certificate validation.
The actual sending of the request can be done either from the server on which the current script handler is running, or from the system’s edge servers «Incoplax».
In some cases can be replaced by executing a "curl" request via the command line (component Start process).
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Asynchronous |
Icon |
![]() |
Branching pattern |
Branching, closing |
Properties
Specification | Description |
---|---|
Title: |
Proxy server usage switch. |
Title: |
Proxy authentication switch. |
Title: |
Login to proxy server. |
Title: |
Password to proxy server. |
Title: |
Proxy server address. |
Title: |
Proxy server port. |
Title: |
Limit the maximum number of redirects. Value for HTTP header |
Name: |
Request URL. Must contain a schema (e.g, |
Title: |
The address of the server from which to send the request.
where
If there is no node/role, any incorrect name assignment, the dispatch is done from the server where the handler executes the script. If the sender server network interface address is missing or incorrectly specified, sending will be done from the sender node address. |
Title: |
Possible options:
|
Title: |
Value for HTTP header |
Title: |
HTTP request body content. |
Title: |
The encoding used to convert the request body from string to binary before sending.
|
Title: |
The manually specified encoding name for the request body. |
Title: |
Basic Authentication Switch. |
Title: |
Basic Authentication Login. |
Title: |
Password for basic authentication. |
Title: |
Additional HTTP headers substituted in the request. The argument contains a multiline value, the format of each of the strings: |
Title: |
Additional COOKIEs substituted in the query. The argument contains a multiline value, the format of each of the strings: |
Title: |
Component operation mode after sending a request.
|
Title: |
Timeout for waiting for a response to a sent HTTP request. |
Title: |
Variable to store the HTTP response code. |
Not filled in if the request has not been answered. |
If the request is completed with a 3xx response |
a new forwarded request is initiated and the 3xx response code is further overwritten." |
Title: |
Variable to store HTTP response headers. |
Title: |
Variable to store the body of the HTTP response. |
Title: |
The encoding of the HTTP response body. Used to convert to a string representation in a script variable.
|
Title: |
The manually specified encoding name for the response body. |
Title: |
Variable to store the HTTP error code along with the phrase, e.g. '404 Not Found'. |
Title: |
The component to which control is passed in case of successful completion of an asynchronous send operation or receipt of an HTTP response. |
Title: |
Component to which control is passed in case of response timeout. |
Title: |
See also
-
role svc