Data.DbxHTTPLayer.TDSHTTPClient.Post
Delphi
function Post(AURL: string; ASource: TStrings): string; virtual; abstract;
C++
virtual System::UnicodeString __fastcall Post(System::UnicodeString AURL, System::Classes::TStrings* ASource) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DbxHTTPLayer.pas Data.DbxHTTPLayer.hpp |
Data.DbxHTTPLayer | TDSHTTPClient |
Description
Performs a POST query to an HTTP server.
Implement the Post method in descending classes to provide the functionality to perform a POST query to an HTTP server.
The AURL parameter specifies the URL of the query. ASource is the list of strings that represents the POST query's contents. Each string in ASource must have the following appearance: "Key=Value", and must be properly encoded.
Post is expected to return the contents of the requested server resource.