Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couchdb won't automatically stringify JSON responses #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

othiym23
Copy link

@othiym23 othiym23 commented Apr 4, 2012

Probably a change in the last few releases of Couch, but in any case, had to make this change to get the scripts running properly.

@BigBlueHat
Copy link

Another option is to change the body key to json and CouchDB will Do The Right Thing with the object passed in and set the response header:
http://docs.couchdb.org/en/1.6.1/json-structure.html#response-object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants