A JavaScript facade to a REST-ful web service. Calls to the service will be performed as asynchronous XMLHttpRequest calls.
Method Attributes | Method Name and Description |
---|---|
ria.RestService.addProxy(path)
Sets the path to a proxy to use for cross-domain calls.
|
|
call(url)
Sends a GET request to the given URL
|
|
makeXdSafe(url)
Constructs a URL that requests the given URL through any previously
registered proxies.
|
|
ria.RestService.toProxyUrl(url)
Constructs a URL that requests the given URL through any previously
registered proxies.
|
/riaproxy/?url=
.