Versions Compared

Key

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

Overview

Executes the request and returns the target server response as asynchronously.

Promise<RestResponse> myRestRequest.ExecuteAsync()

Remarks

This method does not verify the response status.

Example

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

request.AddParameter('x', 1);

request.ExecuteAsync().then(function(response) {
    // ..
});