couchdb-user mailing list archives

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

I tested following command at couchdb 0.9.0.

 $curl -X PUT
-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
-H "Content/Type: image/jpeg" -d @test.jpg

Is my command wrong ?

View raw message