Skip to content

TFPCustomHTTPClient.Delete

Performs an HTTP DELETE request

Declaration

Source position: fphttpclient.pp line 327

public 
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;

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

Name Description
Get Performs an HTTP GET request
Post Performs an HTTP POST request