Back to FabImage Studio website
You are here: Start » Filter Reference » HTTP » Http_SendRequest_GET
Sends a GET request to server and receives an answer.
Name | Type | Description | |
---|---|---|---|
![]() |
inUrl | String | Url of request. Without parameters. |
![]() |
inFields | StringArray | Request data to send. It will be automatically encoded. |
![]() |
inFieldsData | StringArray | Request data to send. It will be automatically encoded. |
![]() |
outAnswer | String? | Answer text if provided in UTF-8 encoding. |
![]() |
outResponseCode | Integer | Answer code. Typically 200 for OK. |
Description
Filter sends a GET request to the server. Filter waits for the sever text answer.
Examples
Filter executed with parameters:
- inUrl = http://localhost/test
- inFields = ["param1", "param2"]
- inFieldsData = ["1", "2"]
Request sent to the server:
GET /test?param1=1¶m2=2 HTTP/1.1 Host: localhost User-Agent: FabImage/1.0 Accept: */*
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Different size of inFields and inFieldsData. |
Complexity Level
This filter is available on Basic Complexity Level.
Disabled in Lite Edition
This filter is disabled in Lite Edition. It is available only in full, FabImage Studio Professional version.
See Also
- Http_SendRequest_POST_Raw – Sends a POST request to the server and receives an answer.