2

see for example http://jsfiddle.net/lostinplace/fxZNx/

apparently enabling jsonp for cross-domain access turns all requests to get, but I have some cross-domain requests that I want to use to manipulate data (not necessarily building design docs)

lostinplace
  • 1,538
  • 3
  • 14
  • 38

1 Answers1

2

Cross-origin resource sharing (CORS) is not officially supported in Apache CouchDB, however Iris Couch can enable my CORS patch, which I described in a similar question: Any way to limit access to CouchDB view when JSONP is enabled?

Just email support@iriscouch.com. The only thing to remember is that this is a third-party patch and so the API or the configuration system, etc. might change in the future.

But CORS is pretty awesome and worthwhile in my opinion.

Community
  • 1
  • 1
JasonSmith
  • 72,674
  • 22
  • 123
  • 149