Static
getStatic
getStatic
requestPerform a request with the specified configuration.
Syncronous request should be avoided unless they are strictly necessary.
Target for the request.
Resquest type (POST, GET, ...)
Optional
header: anyObject with data to be added to the request header.
Optional
body: anyData to be sent in the resquest.
Optional
onLoad: FunctionOn load callback, receives data (String or Object) and XHR as arguments.
Optional
onError: FunctionXHR onError callback.
Optional
onProgress: Function
XHR utils contains public static methods to allow easy access to services via XHR.