Networking - OwlTechnology/ComfyJs GitHub Wiki
$http is used for ajax calls.
$http({
method: string,
url: string,
data: string|object,
dataType: string,
success: function(response: object?),
error: function(response: object?)
});
All ajax calls are done asynchronously and all functions are treated like callbacks.
$http arguments
###method
Argument used to define type of network request to be made.
Acceptable Input: GET
, PUT
, POST
, DELETE
and JSONP
.