Garren Smith created COUCHDB-3030:
-------------------------------------
Summary: Create ajax wrapper for FauxtonAPI
Key: COUCHDB-3030
URL: https://issues.apache.org/jira/browse/COUCHDB-3030
Project: CouchDB
Issue Type: New Feature
Components: Fauxton
Reporter: Garren Smith
Currently we depend on $.ajax. We should move away from that and instead use
either the fetch api or something like superagent.
What we need is a ajax wrapper for the FauxtonAPI. It would be a module in here
https://github.com/apache/couchdb-fauxton/tree/master/app/core
Then we could use it like this:
FauxtonAPI.post(url, data);
The one requirement is that is must work for CORS as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)