TFPCustomHTTPClient.Delete procedure
Performs an HTTP DELETE request
Declaration
procedure Delete(const URL: string; const Response: TStream)
procedure Delete(const URL: string; Response: TStrings)
procedure Delete(const URL: string; const LocalFileName: string)
function Delete(const URL: string): RawByteStringArguments
URL | The URL to send the DELETE 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 DELETE request to delete a resource at the specified URL.
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.
