TFPCustomHTTPClient.Put procedure
Performs an HTTP PUT request
Declaration
procedure Put(const URL: string; const Response: TStream)
procedure Put(const URL: string; Response: TStrings)
procedure Put(const URL: string; const LocalFileName: string)
function Put(const URL: string): RawByteStringArguments
URL | The URL to send the PUT request 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 PUT request to upload or update data at 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.
