couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Matheis <matheis.ste...@googlemail.com>
Subject Re: couchdb modify the json object
Date Wed, 01 Jun 2011 14:01:34 GMT
Sujan,

On Wed, Jun 1, 2011 at 3:28 PM, Sujan Dutta <sujandutta@live.in> wrote:
> curl -H "Content-Type: application/json" -X POST "http://192.168.1.89/tavisca/couch/sampledb"
-d '{"createddate":"\/Date(-684302343434)\/"}'

why are you removing the second Backslash !? with a single backlash,
you would escape the slash .. which is kinda useless. two backslashes
will finally result in one, which you'll get back while requesting the
document.

Regards
Stefan

Mime
View raw message