Skip to content

TFPCustomHTTPClient.Patch

Performs an HTTP PATCH request

Declaration

Source position: fphttpclient.pp line 338

public 
procedure Patch(const URL: string; const Response: TStream);

procedure Patch(const URL: string; Response: TStrings);

procedure Patch(const URL: string; const LocalFileName: string);

function Patch(const URL: string) : RawByteString;

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

Name Description
Put Performs an HTTP PUT request
Post Performs an HTTP POST request