You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2021/09/09 03:42:45 UTC

[james-project] branch master updated: [Documentation] Fix missing content-type in upgrade schema version command

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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 6063727  [Documentation] Fix missing content-type in upgrade schema version command
6063727 is described below

commit 60637276bf77b156b73fdf1b71950f28de884f58
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Thu Sep 9 10:41:43 2021 +0700

    [Documentation] Fix missing content-type in upgrade schema version command
---
 docs/modules/servers/pages/distributed/operate/webadmin.adoc | 2 +-
 src/site/markdown/server/manage-webadmin.md                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/modules/servers/pages/distributed/operate/webadmin.adoc b/docs/modules/servers/pages/distributed/operate/webadmin.adoc
index 7a63100..7eb8320 100644
--- a/docs/modules/servers/pages/distributed/operate/webadmin.adoc
+++ b/docs/modules/servers/pages/distributed/operate/webadmin.adoc
@@ -3765,7 +3765,7 @@ Response codes:
 ==== Upgrading to a specific version
 
 ....
-curl -XPOST http://ip:port/cassandra/version/upgrade -d '3'
+curl -XPOST -H "Content-Type: application/json http://ip:port/cassandra/version/upgrade -d '3'
 ....
 
 Will schedule the run of the migrations you need to reach schema version
diff --git a/src/site/markdown/server/manage-webadmin.md b/src/site/markdown/server/manage-webadmin.md
index f67f723..b190270 100644
--- a/src/site/markdown/server/manage-webadmin.md
+++ b/src/site/markdown/server/manage-webadmin.md
@@ -2042,7 +2042,7 @@ Response codes:
 ### Upgrading to a specific version
 
 ```
-curl -XPOST http://ip:port/cassandra/version/upgrade -d '3'
+curl -XPOST -H "Content-Type: application/json http://ip:port/cassandra/version/upgrade -d '3'
 ```
 
 Will schedule the run of the migrations you need to reach schema version 3.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org