Update user_provisioning_api.rst

Mention that the content type "application/x-www-form-urlencoded" is needed for POST request, see https://secure.php.net/manual/en/reserved.variables.post.php
This commit is contained in:
Björn Schießle 2016-12-14 14:32:21 +01:00 committed by Bjoern Schiessle
parent 26111a5154
commit 4b90853c00
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6

View File

@ -15,6 +15,8 @@ The base URL for all calls to the share API is **nextcloud_base_url/ocs/v1.php/c
All calls to OCS endpoints require the ``OCS-APIRequest`` header to be set to ``true``.
All POST requests require the ``Content-Type: application/x-www-form-urlencoded`` header. (Note: Some libraries like Curl set this header automatically, other require to set the header explicitly)
Instruction Set For Users
=========================