Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

...

RestClient Rest.Create(url: string)

...

RestClient Rest.Create(url: string, service: string)

...

RestClient Rest.Create(url: string, service: string, scope: string)

...

RestClient Rest. myRest.Create(url: string, service: string, scope: string, identity: string)

...

Code Block
languagejs
var client = $Rest.Create('http://targetserver');

var request = client.Request();

request.AddParameter('x', 1);

var response = request.Execute();

Remarks

Service, scope and identity parameters are optional. If not specified rest client is not authenticated.

Example

Code Block
languagejs
var client = $Rest.Create('http://targetserver');

var request = client.Request();

request.AddParameter('x', 1);

var response = request.Execute();

Remarks

Service, scope and identity parameters are optional. If not specified rest client is not authenticated.

Example

Code Block
languagejs
var client = $Rest.Create('http://targetserver');

var request = client.Request();

request.AddParameter('x', 1);

var response = request.Execute();

Remarks

Service, scope and identity parameters are optional. If not specified rest client is not authenticated.

Example

Code Block
languagejs
var client = $Rest.Create('http://targetserver');

var request = client.Request();

request.AddParameter('x', 1);

var response = request.Execute();

Examples

...

languagejs

...

See Also