Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for execute (0.14 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    # Primeiros Passos
    
    O arquivo FastAPI mais simples pode se parecer com:
    
    ```Python
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copie o conteúdo para um arquivo `main.py`.
    
    Execute o servidor:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    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)
  2. docs/pt/docs/tutorial/security/first-steps.md

    ```Python
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    ## Execute-o
    
    !!! info "informação"
    	Primeiro, instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    	Ex: `pip install python-multipart`.
    
    	Isso ocorre porque o **OAuth2** usa "dados de um formulário" para mandar o **username** e **senha**.
    
    Execute esse exemplo com:
    
    <div class="termy">
    
    ```console
    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)
  3. docs/en/docs/tutorial/security/first-steps.md

    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">
    
    We are not verifying the validity of the token yet, but that's a start already.
    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)
Back to top