Sign in Join
FPDoc Onlineexperiment

TFPCustomHTTPClient.Delete procedure

Member of TFPCustomHTTPClientpublicIn unit fpHTTPClient

Performs an HTTP DELETE request

Declaration

pascal
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): RawByteString

Arguments

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.