TFPCustomHTTPClient.SimpleFormPost procedure
Static method to perform a simple form POST request
Declaration
class procedure SimpleFormPost(const URL: string;
const FormData: RawByteString;
const Response: TStream)
class procedure SimpleFormPost(const URL: string; FormData: TStrings;
const Response: TStream)
class procedure SimpleFormPost(const URL: string;
const FormData: RawByteString;
const Response: TStrings)
class procedure SimpleFormPost(const URL: string; FormData: TStrings;
const Response: TStrings)
class function SimpleFormPost(const URL: string;
const FormData: RawByteString)
: RawByteString
class function SimpleFormPost(const URL: string; FormData: TStrings)
: RawByteStringArguments
URL | The URL to post the form data to |
FormData | The form data to post |
Response | Variable to store the response content as string |
Function result
The response content as string
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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
