summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-26 20:41:10 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-26 20:41:10 +0200
commitc72e72de205eb70053b0d18368ded841f01c0c93 (patch)
treee312ae9db8bb14ae464969e2900d2b9d107649c9 /docs
parent145d387e3ab38928599648290cf36a213ab81e11 (diff)
typo
Diffstat (limited to 'docs')
-rw-r--r--docs/api/v2/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/v2/README.md b/docs/api/v2/README.md
index b8d1dde4b..9cd97c9c3 100644
--- a/docs/api/v2/README.md
+++ b/docs/api/v2/README.md
@@ -123,10 +123,10 @@ This will return the following status codes:
* **400**: An error occurred, check the **error** object for more information
* **403**: ownCloud Error: The provided authorization headers are invalid
* **404**: ownCloud Error: The route can not be found. This can happen if the app is disabled or because of other reasons. No **error** object is available.
-* **5xx**: ownCloud Error: A server error occurred. This can happen if the app is in maintenance mode or because of other reasons. No **error** object is available.
+* **5xx**: ownCloud Error: A server error occurred. This can happen if the server is in maintenance mode or because of other reasons. No **error** object is available.
and the following HTTP headers:
-* **Content type**: application/json; charset=utf-8
+* **Content-Type**: application/json; charset=utf-8
* **Etag**: A string containing a cache header of maximum size 64, e.g. 6d82cbb050ddc7fa9cbb659014546e59
and the following request body:
@@ -179,7 +179,7 @@ After the initial sync the app has all folders, feeds and items. Now you want to
* **Method**: POST
* **Route**: /sync
* **HTTP headers**:
- * **Content type: "application/json; charset=utf-8"**
+ * **Content-Type: "application/json; charset=utf-8"**
* **Accept: "application/json"**
* **If-None-Match: "6d82cbb050ddc7fa9cbb659014546e59"** (Etag from the previous request to the /sync route)
* Authorization headers