Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPCustomHTTPClient.SimpleDelete

Static method to perform a simple HTTP DELETE request

Declaration

Source position: fphttpclient.pp line 320

public class procedure TFPCustomHTTPClient.SimpleDelete(

  const URL: string;

  const Response: TStream

);

class procedure TFPCustomHTTPClient.SimpleDelete(

  const URL: string;

  Response: TStrings

);

class procedure TFPCustomHTTPClient.SimpleDelete(

  const URL: string;

  const LocalFileName: string

);

class function TFPCustomHTTPClient.SimpleDelete(

  const URL: string

):RawByteString;

Arguments

URL

  

The URL to send the DELETE request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the DELETE request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the DELETE request to

LocalFileName

  

Local filename to save the response to

Arguments

URL

  

The URL to send the DELETE request to

Function result

The response content as string

Description

Static utility method for performing a simple HTTP DELETE request without requiring an HTTP client instance.

Errors

May raise HTTP-related exceptions on connection errors.

See also

Delete

  

Performs an HTTP DELETE request


Documentation generated on: Jan 27 2026