# Execute HTTP Request

Send an HTTP request and receive the result.

<table data-header-hidden><thead><tr><th width="232" valign="top"></th><th width="315" valign="top"></th></tr></thead><tbody><tr><td valign="top">URL</td><td valign="top"><p>[Text] Link to the web page to which the</p><p>HTTP request should be sent.</p><p>Must start with a protocol, for example,</p><p><code>"http://www.mydomain.com/list.php"</code>.</p></td></tr><tr><td valign="top">Request Type</td><td valign="top"><p>Select the type of request.</p><p>Possible options:</p><ul><li>Get,</li><li>Options,</li><li>Post,</li><li>Put,</li><li>Delete.</li></ul></td></tr><tr><td valign="top">Encoding</td><td valign="top">Encoding of the web page.</td></tr><tr><td valign="top">UserAgent</td><td valign="top">UserAgent to be used when accessing the required web page.</td></tr><tr><td valign="top">TLS 12</td><td valign="top"><p>If checked, the secure TLS 12 protocol will be used when accessing the</p><p>web page.</p><p>Otherwise, the deprecated TLS 11 protocol will be used.</p></td></tr><tr><td valign="top">Accept Header</td><td valign="top">Select a value for the Accept header. Defines the MIME type of the resource that the client can understand.</td></tr><tr><td valign="top">Headers</td><td valign="top">[Dictionary] Headers passed in the request.</td></tr><tr><td valign="top">Cookies</td><td valign="top"><p>[List of objects] List of cookies. This property should contain a list of Cookie objects.</p><p>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.</p></td></tr><tr><td valign="top">Parameters</td><td valign="top">[Dictionary] Parameters passed in the request.</td></tr><tr><td valign="top">Files</td><td valign="top"><p>[Dictionary] Files passed in the request. For example,</p><p><code>@{"file.txt"="c:\file.txt"}</code>.</p></td></tr><tr><td valign="top">Login</td><td valign="top">[Text] Login for basic authentication. An Authorization header is created.</td></tr><tr><td valign="top">Password</td><td valign="top">[Text/SecureString] Password for basic authentication. An Authorization header is created.</td></tr><tr><td valign="top">Request Content</td><td valign="top"><p>[Text] Content of the</p><p>POST/PUT/DELETE request.</p></td></tr><tr><td valign="top">Content-Type Header</td><td valign="top">Select a value for the Content-Type header. Defines the MIME type of the resource.</td></tr><tr><td valign="top">Timeout</td><td valign="top">[Number] Timeout in seconds.</td></tr><tr><td valign="top">Result</td><td valign="top">[Text] Returns the result of the request.</td></tr><tr><td valign="top">Response Code</td><td valign="top">[Number] HTTP response code.</td></tr><tr><td valign="top">Response Headers</td><td valign="top">[Dictionary] Dictionary with response headers.</td></tr><tr><td valign="top">Cookies</td><td valign="top"><p>[List] List of cookies. The list contains Cookie objects.</p><p>For working with objects, see the hint in the expression editor.</p></td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that blocks will output during operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>
