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

TFPCustomHTTPClient.SimpleFormPost

Static method to perform a simple form POST request

Declaration

Source position: fphttpclient.pp line 359

public class procedure TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  const FormData: RawByteString;

  const Response: TStream

);

class procedure TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  FormData: TStrings;

  const Response: TStream

);

class procedure TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  const FormData: RawByteString;

  const Response: TStrings

);

class procedure TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  FormData: TStrings;

  const Response: TStrings

);

class function TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  const FormData: RawByteString

):RawByteString;

class function TFPCustomHTTPClient.SimpleFormPost(

  const URL: string;

  FormData: TStrings

):RawByteString;

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Response

  

Variable to store the response content as string

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Function result

The response content as string

Arguments

URL

  

The URL to post the form data to

FormData

  

The form data to post

Description

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

Errors

May raise HTTP-related exceptions on connection errors.

See also

FormPost

  

Performs an HTTP POST request with form data


Documentation generated on: Jan 27 2026