diff --git a/security/json_login_setup.rst b/security/json_login_setup.rst index 0ca4a46856b..d50dae013ed 100644 --- a/security/json_login_setup.rst +++ b/security/json_login_setup.rst @@ -123,7 +123,7 @@ path: return $routes; -When you submit a ``POST`` request to the ``/login`` URL with the following JSON +When you submit a ``POST`` request, with the header ``Content-Type: application/json``, to the ``/login`` URL with the following JSON document as the body, the security system intercepts the requests. It takes care of authenticating the user with the submitted username and password or triggers an error in case the authentication process fails.