Double quotes didn't work for me #333

nevf opened this Issue Nov 17, 2010 · 0 comments


None yet
1 participant

nevf commented Nov 17, 2010

On 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"


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