From cf8f0b28a27cb780210c61c004c14c236986d7a7 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 080a369ad..b88f371c2 100644 --- a/admin_manual/configuration_user/user_provisioning_api.rst +++ b/admin_manual/configuration_user/user_provisioning_api.rst @@ -13,6 +13,8 @@ listed above. The Provisioning API app is enabled by default. The base URL for all calls to the share API is **nextcloud_base_url/ocs/v1.php/cloud**. +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 =========================