Create¶
Creates a new RestClient instance.
1 | |
Parameters¶
string url
The target URL for the REST client.
string service optional
The name of the service to authenticate with. Optional.
string scope optional
The scope of the REST operation. Optional.
string identity optional
The identity to impersonate. Optional.
Returns¶
A new RestClient instance.
Remarks¶
The service, scope, and identity parameters are optional. If not specified, the REST client will not be authenticated.
Creating a REST client and executing a request¶
1 2 3 4 5 6 7 | |