- Source:
Classes
Methods
-
<static> get(url, options)
-
This function gets a resource throw a
HTTP GET method and checks if the request
is ajax or jsonp basedParameters:
Name Type Description url
string options
Object - Source:
Returns:
- Type
- Promise
-
<static> post(url, data)
-
This function gets a resource throw a
HTTP POST method using ajaxParameters:
Name Type Description url
string data
Object - Source:
Returns:
- Type
- Promise