2

I am trying to use CouchDB as a back-end for my application. I tried to install couchDB on my windows OS machine. It works fine.

When i tried to run this example after creating the db on "Projects", the console displays an error.

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://fiddle.jshell.net' is therefore not allowed access. The response had HTTP status code 405.

I tried to do fix it by this suggestion, how to add cors in couchDB, but i don't find [cors] section

I manually created [cors] section, that too did not work.

UPDATE: I am using the latest version 1.6.1

Community
  • 1
  • 1
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396

1 Answers1

0

you need to enable CORS on COUCHDB administration side and allow all sites

Benjamin Fuentes
  • 674
  • 9
  • 22