Double quotes didn't work for me #333

Open
nevf opened this Issue Nov 17, 2010 · 0 comments

Comments

Projects
None yet
1 participant
@nevf

nevf commented Nov 17, 2010

On http://guide.couchdb.org/draft/security.html under "Creating New Admin Users" the example:
curl -X PUT $HOST/_config/admins/anna -d '"secret"'
didn't work for me on Windows. The error was:
{"error":"bad_request","reason":"invalid UTF-8 JSON"}

Instead I had to use: curl -X PUT $HOST/_config/admins/anna -d "secret"

-Neville

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment