incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: A POST from the browser
Date Thu, 20 Feb 2014 06:40:48 GMT
Hi Ben,

> It seems from all forms of ajax calls I have tried it posts the OPTIONS method before
the POST to test the waters.  It looks like couch never accepts this method because it is
not allowed (405).

1. Is the URI correct in your ajax call?
(see http://docs.couchdb.org/en/latest/api/database/common.html#post--db )

2. Is CORS enabled? Is your origin allowed?
(see http://docs.couchdb.org/en/latest/config/http.html#cors )


Regards,

Aurélien
Mime
View raw message