Hi,
I am trying to create a new document in couchdb.
I do the following
var url = "
http://user:pass...@127.0.0.1:5984/test/";
var body = {
"_id" : "newdarnid"
};
Jaxer.Web.post(url,body,{contentType: "application/json"});
this gets me the response {"error":"bad_request","reason":"invalid
UTF-8 JSON"}
I get the following working with Curl
curl -X POST
http://username:pass...@127.0.0.1:5984/test/ -H "Content-
Type: application/json" -d "{\"_id\" : \"feed_1309302329298pantagruel
\", \"name\" : \"test1\"}"
but my various attempts with jaxer are not working. Can you give me an
example of the above that should work in jaxer - I suppose once I have
something working I can backtrack from there...
Thanks,
Bryan Rasmussen