Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for Decode (0.19 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    ## Update the dependencies
    
    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    === "Python 3.10+"
    
        ```Python hl_lines="89-106"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/response-status-code.md

    ๐ŸŽ ๐ŸŒŒ ๐Ÿ‘† ๐Ÿ’ช โœ” ๐Ÿ“จ ๐Ÿท, ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“ฃ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ โš™๏ธ ๐Ÿ“จ โฎ๏ธ ๐Ÿ”ข `status_code` ๐Ÿ™† *โžก ๐Ÿ› ๏ธ*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * โ™’๏ธ.
    
    ```Python hl_lines="6"
    {!../../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    !!! note
        ๐Ÿ‘€ ๐Ÿ‘ˆ `status_code` ๐Ÿ”ข "๐Ÿ‘จโ€๐ŸŽจ" ๐Ÿ‘ฉโ€๐Ÿ”ฌ (`get`, `post`, โ™’๏ธ). ๐Ÿšซ ๐Ÿ‘† *โžก ๐Ÿ› ๏ธ ๐Ÿ”ข*, ๐Ÿ’– ๐ŸŒ ๐Ÿ”ข & ๐Ÿ’ช.
    
    `status_code` ๐Ÿ”ข ๐Ÿ“จ ๐Ÿ”ข โฎ๏ธ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” ๐Ÿ‘” ๐Ÿ“Ÿ.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/response-change-status-code.md

    & โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช โš’ `status_code` ๐Ÿ‘ˆ *๐Ÿ”€* ๐Ÿ“จ ๐ŸŽš.
    
    ```Python hl_lines="1  9  12"
    {!../../../docs_src/response_change_status_code/tutorial001.py!}
    ```
    
    & โคด๏ธ ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ“จ ๐Ÿ™† ๐ŸŽš ๐Ÿ‘† ๐Ÿ’ช, ๐Ÿ‘† ๐Ÿ›Ž ๐Ÿ”œ ( `dict`, ๐Ÿ’ฝ ๐Ÿท, โ™’๏ธ).
    
    & ๐Ÿšฅ ๐Ÿ‘† ๐Ÿ“ฃ `response_model`, โšซ๏ธ ๐Ÿ”œ โš™๏ธ โ›ฝ & ๐Ÿ—œ ๐ŸŽš ๐Ÿ‘† ๐Ÿ“จ.
    
    **FastAPI** ๐Ÿ”œ โš™๏ธ ๐Ÿ‘ˆ *๐Ÿ”€* ๐Ÿ“จ โš— ๐Ÿ‘” ๐Ÿ“Ÿ (๐Ÿช & ๐ŸŽš), & ๐Ÿ”œ ๐Ÿšฎ ๐Ÿ‘ซ ๐Ÿ ๐Ÿ“จ ๐Ÿ‘ˆ ๐Ÿ”Œ ๐Ÿ’ฒ ๐Ÿ‘† ๐Ÿ“จ, โ›ฝ ๐Ÿ™† `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/middleware.md

    There are many other ASGI middlewares.
    
    For example:
    
    * <a href="https://docs.sentry.io/platforms/python/guides/fastapi/" class="external-link" target="_blank">Sentry</a>
    * <a href="https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py" class="external-link" target="_blank">Uvicorn's `ProxyHeadersMiddleware`</a>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  5. docs/vi/docs/features.md

    ฤรขy lร  cรกc trรฌnh soแบกn thแบฃo cรณ thแปƒ giรบp bแบกn:
    
    * trong <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * trong <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/en/docs/alternatives.md

        Hug inspired **FastAPI** to declare a `response` parameter in functions to set headers and cookies.
    
    ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (<= 0.5)
    
    Right before deciding to build **FastAPI** I found **APIStar** server. It had almost everything I was looking for and had a great design.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. docs/em/docs/alternatives.md

        ๐Ÿค— ๐Ÿ˜ฎ ๐Ÿ• APIStar, &amp; 1๏ธโƒฃ ๐Ÿงฐ ๐Ÿ‘ค ๐Ÿ”Ž ๐Ÿ† ๐Ÿ‘, ๐ŸŒŸ APIStar.
    
        ๐Ÿค— โ„น ๐Ÿ˜ **FastAPI** โš™๏ธ ๐Ÿ ๐Ÿ†Ž ๐Ÿ”‘ ๐Ÿ“ฃ ๐Ÿ”ข, &amp; ๐Ÿ— ๐Ÿ”— โš– ๐Ÿ› ๏ธ ๐Ÿ”.
    
        ๐Ÿค— ๐Ÿ˜ฎ **FastAPI** ๐Ÿ“ฃ `response` ๐Ÿ”ข ๐Ÿ”ข โš’ ๐ŸŽš &amp; ๐Ÿช.
    
    ### <a href="https://github.com/encode/apistar" class="external-link" target="_blank">APIStar</a> (&lt;= 0๏ธโƒฃ.5๏ธโƒฃ)
    
    โ–ถ๏ธ๏ธ โญ ๐Ÿค” ๐Ÿ— **FastAPI** ๐Ÿ‘ค ๐Ÿ”Ž **APIStar** ๐Ÿ’ฝ. โšซ๏ธ โœ”๏ธ ๐ŸŒ– ๐ŸŒ ๐Ÿ‘ค ๐Ÿ‘€ &amp; โœ”๏ธ ๐Ÿ‘‘ ๐Ÿ”ง.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/async-sql-encode-databases.md

    You can also use <a href="https://github.com/encode/databases" class="external-link" target="_blank">`encode/databases`</a> with **FastAPI** to connect to databases using `async` and `await`.
    
    It is compatible with:
    
    * PostgreSQL
    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/websockets.md

        Wenn Sie etwas benรถtigen, das sich leicht in FastAPI integrieren lรคsst, aber robuster ist und von Redis, PostgreSQL und anderen unterstรผtzt wird, sehen Sie sich <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a> an.
    
    ## Mehr Informationen
    
    Weitere Informationen zu Optionen finden Sie in der Dokumentation von Starlette:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/https.md

    ### TLS Handshake Start
    
    The browser would then communicate with that IP address on **port 443** (the HTTPS port).
    
    The first part of the communication is just to establish the connection between the client and the server and to decide the cryptographic keys they will use, etc.
    
    <img src="/img/deployment/https/https02.svg">
    
    This interaction between the client and the server to establish the TLS connection is called the **TLS handshake**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top