You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
methods added: get(queryParams, timeoutMillis) and post(data, timeoutMillis).
Also created a base file "ajax-base.js"containing:
APE.ajax.appendToURI
appends parameters to a URI with no hash, adding either & or ? delimiter.
APE.ajax.jsonp
noop callback used for default jsonp callback for scriptloader. JSONP 1-arg functions can be used with EventPublisher as APE.EventPublisher.add(APE.ajax, "jsonp", handler).
AsyncRequest has a send() method and accepts a uri in the config to the constructor.
This is inflexible when you want to change the query string around.
Propose to change AsyncRequest add two methods:
A parallel API for a ScriptLoader can use same interface, so can be an alternative for get().
The text was updated successfully, but these errors were encountered: