Эх сурвалжийг харах

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

Romain Rigaux 4 жил өмнө
parent
commit
7b89ca04b1

+ 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: