622
622
* \param app IVLE app to call (such as "fileservice").
623
623
* \param path URL path to make the request to, within the application.
624
624
* \param args Argument object, as described in parse_url and friends.
625
* \param method String; "GET", "POST", "PUT", or "PATCH"
627
628
* Defaults to "application/x-www-form-urlencoded".
629
630
function ajax_call(callback, app, path, args, method, content_type)
632
633
content_type = "application/x-www-form-urlencoded";
633
634
path = app_path(app, path);