TFPCustomHTTPClient.Post procedure
Performs an HTTP POST request
Declaration
procedure Post(const URL: string; const Response: TStream)
procedure Post(const URL: string; Response: TStrings)
procedure Post(const URL: string; const LocalFileName: string)
function Post(const URL: string): RawByteStringArguments
URL | The URL to post to |
Response | Variable to store the response content as string |
LocalFileName | Local filename to save the response to |
Function result
The response content as string
Description
Performs an HTTP POST request to send data to the specified URL.
The request body is taken from the RequestBody property.
Errors
May raise HTTP-related exceptions on connection errors or invalid responses.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
