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
Set the content-type myself: I often post JSON payloads to my server.
Return the xhr object (or a wrapper): e.g. to be able to call .cancel() on it.
Return a Promise, because programming async code with callbacks is hell when you do more than trivial stuff. This is also the way to go with modern browsers (await is proposed for ES7).
The text was updated successfully, but these errors were encountered:
^^ think these are the best AJAX libraries to use :) - they are nice and familiar for jQuery users - perhaps can add them to the CASH page like we did for Velocity :)
AJAX is no longer a part of cash, as of version 1.0.0. As @simeydotme suggested, try using an AJAX specific library like fetch for jQuery-less AJAX support.
A few things jQuery does and I really miss:
The text was updated successfully, but these errors were encountered: