You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by an...@apache.org on 2014/01/12 12:30:21 UTC
[2/2] git commit: updated refs/heads/master to 62f939c
docs: fix highlighting of artwork.jpg
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/e7b0a9a1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/e7b0a9a1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/e7b0a9a1
Branch: refs/heads/master
Commit: e7b0a9a1ea0bee39776be23b5999727ef37bead0
Parents: 4396ea3
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Sun Jan 12 01:45:22 2014 +0100
Committer: Andy Wenk <an...@apache.org>
Committed: Sun Jan 12 11:20:20 2014 +0100
----------------------------------------------------------------------
share/doc/src/intro/api.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/e7b0a9a1/share/doc/src/intro/api.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/intro/api.rst b/share/doc/src/intro/api.rst
index 3fb413a..9525bee 100644
--- a/share/doc/src/intro/api.rst
+++ b/share/doc/src/intro/api.rst
@@ -567,7 +567,7 @@ documents, music, or movie files. Let's make one.
Attachments get their own URL where you can upload data. Say we want to add
the album artwork to the ``6e1295ed6c29495e54cc05947f18c8af`` document
(*"There is Nothing Left to Lose"*), and let's also say the artwork is in a file
-artwork `.jpg` in the current directory::
+`artwork.jpg` in the current directory::
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"