API:Datasnap.DSService.TDSRESTService.ProcessPOSTRequest
Delphi
procedure ProcessPOSTRequest(const Request: string; Params: TStrings; Content: TArray<Byte>; ResponseHandler: TRequestCommandHandler); override;
C++
virtual void __fastcall ProcessPOSTRequest(const System::UnicodeString Request, System::Classes::TStrings* Params, System::DynamicArray<System::Byte> Content, Data::Dbxcommon::TRequestCommandHandler* ResponseHandler);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSService.pas Datasnap.DSService.hpp |
Datasnap.DSService | TDSRESTService |
Description
Processes the POST request.
Datasnap.DSService.TDSRESTService.ProcessPOSTRequest inherits from Datasnap.DSService.TDSService.ProcessPOSTRequest. All content below this line refers to Datasnap.DSService.TDSService.ProcessPOSTRequest.
Processes the POST request.
Call ProcessPOSTRequest to process the POST request.
The following table lists the arguments of the ProcessPOSTRequest method.
Argument | Meaning |
---|---|
Request |
Contains the original request. This parameter is never NIL or empty. |
Params |
Represents the request parameters. |
Content |
Contains the request content, usually the JSON object to be updated. |
MapMethod |
Represents the map method used to provide the server method name. |
Response |
Represents a JSON object that contains either a success or an error message. |