summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/resources/Documentation/rest-api-hello-project.md4
-rw-r--r--src/main/resources/Documentation/rest-api-hello-revision.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/resources/Documentation/rest-api-hello-project.md b/src/main/resources/Documentation/rest-api-hello-project.md
index e1fb49d..a0d1ad5 100644
--- a/src/main/resources/Documentation/rest-api-hello-project.md
+++ b/src/main/resources/Documentation/rest-api-hello-project.md
@@ -31,14 +31,14 @@ EXAMPLES
Have the server say Hello to the user
-> curl -X POST --digest --user joe:secret http://host:port/a/projects/foo/cookbook~hello-project
+> curl -X POST --user joe:secret http://host:port/a/projects/foo/cookbook~hello-project
> "Hello joe from project foo!"
Have the server say Bonjour to François
> curl -X POST -H "Content-Type: application/json" \
> -d '{message: "François", french: true}' \
-> --digest --user joe:secret \
+> --user joe:secret \
> http://host:port/a/projects/foo/cookbook~hello-project
> "Bonjour François from project foo!"
diff --git a/src/main/resources/Documentation/rest-api-hello-revision.md b/src/main/resources/Documentation/rest-api-hello-revision.md
index a3d7ec1..74e979d 100644
--- a/src/main/resources/Documentation/rest-api-hello-revision.md
+++ b/src/main/resources/Documentation/rest-api-hello-revision.md
@@ -31,14 +31,14 @@ EXAMPLES
Have the server say Hello to the user
-> curl -X POST --digest --user joe:secret http://host:port/a/changes/1/revisions/1/cookbook~hello-revision
+> curl -X POST --user joe:secret http://host:port/a/changes/1/revisions/1/cookbook~hello-revision
> "Hello joe from change 1, patch set 1!"
Have the server say Bonjour to François
> curl -X POST -H "Content-Type: application/json" \
> -d '{message: "François", french: true}' \
-> --digest --user joe:secret \
+> --user joe:secret \
> http://host:port/a/changes/1/revisions/1/cookbook~hello-revision
> "Bonjour François from change 1, patch set 1!"