Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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

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

request.AddParameter('x', 1);

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