REST.Backend.EMSServices.TEMSCustomEndpointAPI.PrepareRequest
Delphi
procedure PrepareRequest(const ARequest: TCustomRESTRequest);
C++
void __fastcall PrepareRequest(Rest::Client::TCustomRESTRequest* const ARequest);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | REST.Backend.EMSServices.pas REST.Backend.EMSServices.hpp |
REST.Backend.EMSServices | TEMSCustomEndpointAPI |
Description
Removes the transient parameters from the specified request, and adds the configured authentication data to the headers of the specified request.
Exceptions
| Exception | Message | Description |
|---|---|---|
|
MasterSecret required |
The type of authentication is TAuthentication.MasterSecret and the MasterSecret property of the connection information of the underlying EMS backend service is an empty string. | |
|
Session token required |
The type of authentication is TAuthentication.Session you did not log in. |