couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "z.ohnami" <z.ohn...@gmail.com>
Subject Adding jpeg Attachment
Date Sun, 10 May 2009 06:42:16 GMT
Hi.

I tested following command at couchdb 0.9.0.

 $curl -X PUT http://192.xxx.yyy.zzz/database/document/test.txt?rev=nnn
-H "Content/Type: text/plain" -d @test.txt

It worked well.I got the text data from Futon.
But next doesn't work well.I got file's URL from Futon instead of jpeg
data I PUT.

 $curl -X PUT http://192.xxx.yyy.zzz/database/document/test.jpg?rev=nnn
-H "Content/Type: image/jpeg" -d @test.jpg

Is my command wrong ?

Mime
View raw message