couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Branca <>
Subject Re: A POST from the browser
Date Thu, 20 Feb 2014 18:08:14 GMT
Hi Ben,

Your browser making OPTIONS requests is indicative of a cross domain
request that requires CORS to be enabled within CouchDB. The issue is that
by default in the browser, you can't make an ajax request from one domain
to another.


On Thu, Feb 20, 2014 at 12:09 AM, I.R. <> wrote:

> > What is the simplest  way to POST docs to the database from the browser
> > using ajax?
> open /_utils and use Futon's JQuery lib inside the browser console to POST
> via Ajax - this should prevent you from the x-domain issue

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message