incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <m...@hahnca.com>
Subject Re: PUT json data
Date Fri, 17 Feb 2012 02:46:42 GMT
http://jsonlint.com/ says it is valid.

On Thu, Feb 16, 2012 at 6:34 PM, john.tiger <john.tigernassau@gmail.com>wrote:

> something is wrong but seems right syntax
>
> myfile.json
> [{"name":"johndoe","created":"**2012-02-16"},{"name":"marydoe"**
> ,"created":"2012-02-16"}]
>
> curl -X PUT http://127.0.0.1:5984/mydb/ -d @myfile.json -H
> "Content-Type:application/**json"
>
> => not a valid json object
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message