Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for exists (0.32 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    You can try it already in the interactive docs:
    
    <img src="/img/tutorial/security/image03.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/first-steps.md

                                "application/json": {
    
    
    
    ...
    ```
    
    #### Para que serve o OpenAPI
    
    O *schema* OpenAPI é o que possibilita os dois sistemas de documentação interativos mostrados.
    
    E existem dezenas de alternativas, todas baseadas em OpenAPI. Você pode facilmente adicionar qualquer uma dessas alternativas à sua aplicação criada com **FastAPI**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/first-steps.md

    Se ele não ver o header de `Autorização` ou o valor não tem um token `Bearer`, vai responder com um código de erro  401 (`UNAUTHORIZED`) diretamente.
    
    Você nem precisa verificar se o token existe para retornar um erro. Você pode ter certeza de que se a sua função for executada, ela terá um `str` nesse token.
    
    Você já pode experimentar na documentação interativa:
    
    <img src="/img/tutorial/security/image03.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top