API:REST.Client.TCustomRESTRequest.AddBody
Delphi
procedure AddBody(ABodyContent: string; AContentType: TRESTContentType = ctNone); overload;
procedure AddBody<T: class, constructor>(AObject: T); overload;
procedure AddBody(AObject: TJsonObject); overload;
procedure AddBody(ABodyContent: TStream; AContentType: TRESTContentType = ctNone); overload;
C++
void __fastcall AddBody(System::UnicodeString ABodyContent, Rest::Types::TRESTContentType AContentType = (Rest::Types::TRESTContentType)(0x0))/* overload */;
template<typename T> void __fastcall AddBody(T AObject)/* overload */;
void __fastcall AddBody(System::Json::TJSONObject* AObject)/* overload */;
void __fastcall AddBody(System::Classes::TStream* ABodyContent, Rest::Types::TRESTContentType AContentType = (Rest::Types::TRESTContentType)(0x0))/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | REST.Client.pas REST.Client.hpp |
REST.Client | TCustomRESTRequest |
Description
Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!