Used to make an asynchronous HTTP call to the server and return the result into a callback function. This method provides error handling and any errors that occur are fired into the OnError handler.

The result of the callbacks are routed to either the callback handler parameters provided in the method, or to a returned jQuery Promise object or - if both are defined - both. The success handlers receive the raw HTTP response. The errr handler receives a CallbackException object


Return Value

jQuery Promise Object (.then(successHandler, errorHandler))


The URL to call

Any POST data to send to the server

The javascript function to call when the call completes

The javascript function to call when the call fails. If not specified the error is ignored

See also:

Class HttpClient

© West Wind Technologies, 1996-2022 • Updated: 10/09/17
Comment or report problem with topic