options
Creates a Resource from a URL and calls options() on it.
Return
a promise that will resolve to the requested data when loaded. Returns undefined if request.throttle
is true and the request does not have high enough priority.
Parameters
options
A url or an object with the following properties