On 19 June 2013 15:42, Romi Awasthy <[email protected]> wrote: > Hi, > > I am getting error: 405 Method Not Allowed error (Origin > http://localhost is not allowed by Access-Control-Allow-Origin) > > > > I understand I need to add enable cors to resolve this issue. I have added > these two settings in my local.ini file. > > > > *[httpd]* > > enable_cors = true > > > > *[cors]* > > origins = * > > > > But, that is not resolving the issue. Is there something else that is > needed?
Hi Romy, This is best sent to user@ mailing list in future. You need to whitelist the methods you intend to support: https://couchdb.readthedocs.org/en/latest/configuring.html#tightening-access I suspect we can make this more clear in the documentation. A+ Dave
