Skip to content

Commit

Permalink
Melhorias no alerta de utilizacao do header Authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
guicouto committed Oct 22, 2018
1 parent cc7ac17 commit bd8b3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/autenticacao.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ Exemplo de chamada em uma rota, enviando os dados do Token::

.. warning::

IMPORTANTE: Veja que o token foi enviado no HEADER da requisição HTTP. Conforme o exemplo acima, podemos observar que o token é enviado sempre no header :term:`Authorization`. Caso o Token não esteja presente no reader :term:`Authorization` a API irá responder com o código HTTP 401 (Unauthorized).
IMPORTANTE: Veja que o token foi enviado no HEADER da requisição HTTP. Conforme o exemplo acima, podemos observar que o token é enviado sempre no header ``Authorization``. Caso o Token não esteja presente no header ``Authorization`` a API irá responder com o código ``HTTP 401 (Unauthorized)``, não permitindo a utilização da API.


0 comments on commit bd8b3db

Please sign in to comment.