You can view my document here:
https://zuhqtr5.couchappy.com/wcs/z1?rev=7-15810428fa1a0eb14c72e456457bb467

I am trying to add an attachement:

curl -vkX PUT -u [email protected]:password123 \
 https://zuhqtr5.couchappy.com/wcs/z1?rev=7-15810428fa1a0eb14c72e456457bb467 \
 --data-binary @image.jpg -H "Content-Type: image/jpg"

I get an error:
{"error":"bad_request","reason":"invalid_json"}

Could you please help me figure out what I am doing wrong?
Thanks.

Reply via email to