REST.Backend.EMSApi.TEMSClientAPI.AddMasterKey
Delphi
procedure AddMasterKey(const ARequest: TCustomRESTRequest; const AKey: string);
C++
void __fastcall AddMasterKey(Rest::Client::TCustomRESTRequest* const ARequest, const System::UnicodeString AKey);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | REST.Backend.EMSApi.pas REST.Backend.EMSApi.hpp |
REST.Backend.EMSApi | TEMSClientAPI |
Description
Adds the specified master key to the headers of the specified request.
Exceptions
| Exception | Message | Description |
|---|---|---|
|
MasterSecret required |
The specified master key is an empty string. |