REST Client#

Allows performing Get, Post, Put, Delete, Options requests.

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 request type.

Possible options:

  • Get,
  • Options,
  • Post,
  • Put,
  • Delete.
EncodingEncoding of the web page.
Login[Text] Login for network authentication.
Password[Text/SecureString] Password for network authentication.
PreAuthenticateIndicates whether pre-authentication is required for this request.
Accept Header[Text] Accept header for the request. For example, "application/json", "application/xml".
Parameters[Dictionary] Parameters passed in the request.
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.

Files[Dictionary] Files passed in the request. For example, @{"file.txt"="c:\file.txt"}.
Request Body

[Text] Body of the

POST/PUT/DELETE request.

Content-Type Header

[Text] Content-Type header (MIME type) indicating to the client what the type of the transmitted content will be.

For example, "application/json", "application/xml", "application/x-www-form-urlencoded", "multipart/form-data".

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.
Current Url[Text] Current URL. This URL may be useful if a redirect to another page has occurred.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - by default; "Ignore" - errors are ignored; "Handle" - errors are handled. If "Default" is selected, the value of the "Start" block of this diagram will be used.
Message Level

Select the message level that the blocks will output during operation.

Possible values:

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

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

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