浏览代码

[docs] Clarify when json POST data in API calls will work

Romain Rigaux 4 年之前
父节点
当前提交
7b89ca04b1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      docs/docs-site/content/developer/api/rest/_index.md

+ 1 - 2
docs/docs-site/content/developer/api/rest/_index.md

@@ -21,11 +21,10 @@ The default content type is form data, e.g.:
 
     -H "Content-Type: application/x-www-form-urlencoded" -d 'username=demo&password=demo'
 
-It is possible to submit data in JSON format:
+It is possible to submit data in JSON format for the calls also reading the data via `request.body`:
 
     -H "Content-Type: application/json" -d '{"username": "demo", "password": "demo"}'
 
-
 ### Curl
 
 Calling without credentials: