This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new 4389cf5  Bump curl earlier in intro, fix for Windows
4389cf5 is described below

commit 4389cf55f6ad5abe0274894f0177a95f665630a2
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Thu Apr 12 11:02:52 2018 -0400

    Bump curl earlier in intro, fix for Windows
---
 src/intro/curl.rst  | 20 ++++++++++++++++++++
 src/intro/index.rst |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/src/intro/curl.rst b/src/intro/curl.rst
index 51907ed..c311830 100644
--- a/src/intro/curl.rst
+++ b/src/intro/curl.rst
@@ -51,6 +51,26 @@ clarity):
 
         shell> curl 'http://couchdb:5984/_uuids?count=5'
 
+.. lint: ignore errors for the next 15 lines
+
+.. note::
+    On Microsoft Windows, use double-quotes anywhere you see single-quotes in
+    the following examples. Use doubled double-quotes ("") anywhere you see
+    single quotes. For example, if you see:
+
+    .. code-block:: bash
+
+        shell> curl -X PUT 'http:/127.0.0.1:5984/demo/doc' -d '{"motto": "I 
love gnomes"}'
+
+    you should replace it with:
+
+    .. code-blocK:: bash
+
+        shell> curl -X PUT "http://127.0.0.1:5984/demo/doc"; -d "{""motto"": 
""I love gnomes""}"
+
+    If you prefer, ``^"`` and ``\"`` may be used to escape the double-quote
+    character in quoted strings instead.
+
 You can explicitly set the HTTP command using the ``-X`` command line option.
 For example, when creating a database, you set the name of the database in the
 URL you send using a PUT request:
diff --git a/src/intro/index.rst b/src/intro/index.rst
index 681af9a..39e7116 100644
--- a/src/intro/index.rst
+++ b/src/intro/index.rst
@@ -46,7 +46,7 @@ teach how to use CouchDB.
     overview
     why
     consistency
+    curl
     tour
     api
     security
-    curl

-- 
To stop receiving notification emails like this one, please contact
woh...@apache.org.

Reply via email to