You are here: Start » AVL.NET » Invoke.Http_SendRequest_GET
Sends a GET request to server and receives a text answer.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void Http_SendRequest_GET ( string inUrl, List<string> inHeaders, List<string> inHeadersData, List<string> inFields, List<string> inFieldsData, int inTimeout, bool inAllowUntrusted, Optional<string> inCaCertFile, Conditional<string> outAnswer, out int outResponseCode )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inUrl | string | URL of request. Without parameters. | ||
![]()  | inHeaders | System.Collections.Generic.List<string> | Request headers to send. They will be automatically encoded. | ||
![]()  | inHeadersData | System.Collections.Generic.List<string> | Request headers to send. They will be automatically encoded. | ||
![]()  | inFields | System.Collections.Generic.List<string> | Request data to send. It will be automatically encoded. | ||
![]()  | inFieldsData | System.Collections.Generic.List<string> | Request data to send. It will be automatically encoded. | ||
![]()  | inTimeout | int | <0, INF> | 60 | Request timeout in seconds. Default value: 60. | 
![]()  | inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. Default value: False. | |
![]()  | inCaCertFile | Atl.Optional<string> | File holding one or more certificates to verify the peer with. Default value: atl::NIL. | ||
![]()  | outAnswer | Atl.Conditional<string> | Answer text if provided in UTF-8 encoding. | ||
![]()  | outResponseCode | int | Answer code. Typically 200 for OK. | 


