REST.Client.TCustomRESTClient.PostEntity
Delphi
function PostEntity<T: class, constructor>(const AResource: string; AEntity: T): TJSONObject;
C++
template<typename T> System::Json::TJSONObject* __fastcall PostEntity(const System::UnicodeString AResource, T AEntity);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTClient |
Description
Sends a POST request to add an AEntity
to the resources of the target service.