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

TFPCustomHTTPClient.Patch

Performs an HTTP PATCH request

Declaration

Source position: fphttpclient.pp line 326

public procedure TFPCustomHTTPClient.Patch(

  const URL: string;

  const Response: TStream

);

procedure TFPCustomHTTPClient.Patch(

  const URL: string;

  Response: TStrings

);

procedure TFPCustomHTTPClient.Patch(

  const URL: string;

  const LocalFileName: string

);

function TFPCustomHTTPClient.Patch(

  const URL: string

):RawByteString;

Arguments

URL

  

The URL to send the PATCH request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the PATCH request to

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to send the PATCH request to

LocalFileName

  

Local filename to save the response to

Arguments

URL

  

The URL to send the PATCH request to

Function result

The response content as string

Description

Performs an HTTP PATCH request to partially update a resource 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

Put

  

Performs an HTTP PUT request

Post

  

Performs an HTTP POST request


Documentation generated on: Jan 27 2026