From 4b90853c0000713c7d5d80cd8b37c84c169e51dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Wed, 14 Dec 2016 14:32:21 +0100 Subject: [PATCH] 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 --- admin_manual/configuration_user/user_provisioning_api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin_manual/configuration_user/user_provisioning_api.rst b/admin_manual/configuration_user/user_provisioning_api.rst index 648488be9..d46245de5 100644 --- a/admin_manual/configuration_user/user_provisioning_api.rst +++ b/admin_manual/configuration_user/user_provisioning_api.rst @@ -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 =========================