Running cUrl cmd from Win7 doesn't work, but on Linux it does.
Posted
by jkidv
on Stack Overflow
See other posts from Stack Overflow
or by jkidv
Published on 2010-05-06T19:26:03Z
Indexed on
2010/05/06
19:28 UTC
Read the original article
Hit count: 219
Like the title says. I'm sending a simple cUrl cmd from Win7 to CouchDB on my Linux box, and it doesn't work. But if I run the same command in Linux, it works. I'm sending this:
curl -X POST 192.168.2.5:5984/test/testdoc -d '{"owner":{"fname":"test","lname":"ing"}}'
From windows, it keeps giving me a "error: bad request, reason:invalid UTF-8 JSON". I can run GET commands from windows just fine, I just can't seem to POST to CouchDB.
© Stack Overflow or respective owner