# Execute Asynchronous GET Request

Sends an asynchronous GET request and receives the returned page code. After queuing the request, control is immediately returned. You can queue more requests and also check the current number of threads.

If there is no longer a need to queue requests and the current number of threads is zero, the block's work can be considered complete.

If the block exits through the "Waiting" connector, it means the specified maximum number of threads has been exceeded and it is necessary to wait until they are freed.

If the block exits through the "Processing" connector, then the thread has completed its work and the received result can be processed. If the variable from the "Error Text" property is empty, it means no errors occurred during the thread's operation; otherwise, you can find out what error occurred.

<table data-header-hidden><thead><tr><th width="204.16668701171875" valign="top"></th><th width="282.166748046875" valign="top"></th></tr></thead><tbody><tr><td valign="top">URL</td><td valign="top"><p>[Text] Link to the web page,</p><p>to which the GET request needs to be sent. Parameters for</p><p>the GET request must be passed in this link.</p><p>It should start with a protocol, for example,</p><p><code>"http://www.mydomain.com/list.php?name=value"</code></p></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"><p>UserAgent that needs to be used when accessing the required</p><p>web page.</p></td></tr><tr><td valign="top">TLS 12</td><td valign="top">If checked, the secure TLS 12 protocol will be used when accessing the web page. Otherwise, it will not be.</td></tr><tr><td valign="top">Number of Threads</td><td valign="top">[Number] Maximum number of threads.</td></tr><tr><td valign="top">Number of Errors</td><td valign="top">[Number] Maximum number of errors for each request. If an error occurs while processing the request, after reaching the specified number, this request will be removed from the queue without generating a result and an error message.</td></tr><tr><td valign="top">Result</td><td valign="top">[Text] Returns the result of the request.</td></tr><tr><td valign="top">Request URL</td><td valign="top">[Text] The URL of the request, the result of which is returned by the block.</td></tr><tr><td valign="top">Number of Threads</td><td valign="top">[Number] Current number of threads.</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level.</p><p>Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value of 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.</p><p>Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - main information output;</li><li>"Detailed" - detailed information output.</li></ul><p>If "Default" is selected, the value of 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>
