Execute HTTP Request#

Send an HTTP request and receive the result.

URL

[Text] Link to the web page to which the

HTTP request should be sent.

Must start with a protocol, for example,

"http://www.mydomain.com/list.php".

Request Type

Select the type of request.

Possible options:

  • Get,
  • Options,
  • Post,
  • Put,
  • Delete.
EncodingEncoding of the web page.
UserAgentUserAgent to be used when accessing the required web page.
TLS 12

If checked, the secure TLS 12 protocol will be used when accessing the

web page.

Otherwise, the deprecated TLS 11 protocol will be used.

Accept HeaderSelect a value for the Accept header. Defines the MIME type of the resource that the client can understand.
Headers[Dictionary] Headers passed in the request.
Cookies

[List of objects] List of cookies. This property should contain a list of Cookie objects.

The list can be obtained using the "Data Table in Cookies" block, using the "Get Cookies" block from the "Browser Automation" palette, using the output property "Cookies" of this block.

Parameters[Dictionary] Parameters passed in the request.
Files

[Dictionary] Files passed in the request. For example,

@{"file.txt"="c:\file.txt"}.

Login[Text] Login for basic authentication. An Authorization header is created.
Password[Text/SecureString] Password for basic authentication. An Authorization header is created.
Request Content

[Text] Content of the

POST/PUT/DELETE request.

Content-Type HeaderSelect a value for the Content-Type header. Defines the MIME type of the resource.
Timeout[Number] Timeout in seconds.
Result[Text] Returns the result of the request.
Response Code[Number] HTTP response code.
Response Headers[Dictionary] Dictionary with response headers.
Cookies

[List] List of cookies. The list contains Cookie objects.

For working with objects, see the hint in the expression editor.

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.