incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Melo <andrew.m...@gmail.com>
Subject Re: Can't upload a pic to CouchDB.
Date Tue, 16 Jul 2013 15:10:09 GMT
On Tue, Jul 16, 2013 at 10:05 AM, Yves S. Garret <yoursurrogategod@gmail.com
> wrote:

> I'm going through this book and I'm in this section:
> http://guide.couchdb.org/editions/1/en/api.html#attachments
>
> I try this in the command line and this is the error that I get:
> % curl -vX PUT
>
> http://127.0.0.1:5984/albums/6e1295ed6c29495e54cc05947f18c8af/artwork.jpg?rev=2-2739352689--data-binary
> @artwork.jpg -H "Content-Type: image/jpg"
> zsh: no matches found:
>
> http://127.0.0.1:5984/albums/6e1295ed6c29495e54cc05947f18c8af/artwork.jpg?rev=2-2739352689
>
> Am I making a stupid copy/paste mistake that's not immediately
> obvious?  There is an artwork.jpg in the directory that I'm working
> in.
>

It looks like zsh doesn't like the characters in the url (probably the ?).
Try quoting it. I'm unfamiliar with zsh, but I think double-quotes around
it would work there.


cheers,
Andrew



-- 
--
Andrew Melo

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