Performs an HTTP GET request
Source position: fphttpclient.pp line 277
public procedure TFPCustomHTTPClient.Get( |
const AURL: string; |
Stream: TStream |
); |
const AURL: string; |
const LocalFileName: string |
); |
const AURL: string; |
Response: TStrings |
); |
const AURL: string |
AURL |
|
The URL to retrieve |
Stream |
|
Stream to write the response content to |
AURL |
|
The URL to retrieve |
LocalFileName |
|
Local filename to save the response to |
AURL |
|
The URL to retrieve |
Response |
|
Variable to store the response content as string |
AURL |
|
The URL to retrieve |
The response content as string
Performs an HTTP GET request to retrieve data from the specified URL. The response can be written to a stream, saved to a file, or returned as a string.
May raise HTTP-related exceptions on connection errors or invalid responses.
|
Performs an HTTP POST request |
|
|
Static method to perform a simple HTTP GET request |