Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 517 for tutoriel (0.05 sec)

  1. docs/zh/docs/tutorial/path-params.md

    注意,上面的错误清晰地指出了未通过校验的具体原因。
    
    这在开发调试与 API 交互的代码时非常有用。
    
    ///
    
    ## 查看文档
    
    访问 <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>,查看自动生成的 API 文档:
    
    <img src="/img/tutorial/path-params/image01.png">
    
    /// check | 检查
    
    还是使用 Python 类型声明,**FastAPI** 提供了(集成 Swagger UI 的)API 文档。
    
    注意,路径参数的类型是整数。
    
    ///
    
    ## 基于标准的好处,备选文档
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 15 16:43:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/security/first-steps.md

    界面如下图所示:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorize 按钮!
    
    页面右上角出现了一个「**Authorize**」按钮。
    
    *路径操作*的右上角也出现了一个可以点击的小锁图标。
    
    ///
    
    点击 **Authorize** 按钮,弹出授权表单,输入 `username` 与 `password` 及其它可选字段:
    
    <img src="/img/tutorial/security/image02.png">
    
    /// note | 笔记
    
    目前,在表单中输入内容不会有任何反应,后文会介绍相关内容。
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. fastapi/security/oauth2.py

        All the initialization parameters are extracted from the request.
    
        Read more about it in the
        [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/simple-oauth2.md

    Klicken Sie auf den Button „Authorize“.
    
    Verwenden Sie die Anmeldedaten:
    
    Benutzer: `johndoe`
    
    Passwort: `secret`.
    
    <img src="/img/tutorial/security/image04.png">
    
    Nach der Authentifizierung im System sehen Sie Folgendes:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Die eigenen Benutzerdaten ansehen { #get-your-own-user-data }
    
    Verwenden Sie nun die Operation `GET` mit dem Pfad `/users/me`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/simple-oauth2.md

    Click the "Authorize" button.
    
    Use the credentials:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    After authenticating in the system, you will see it like:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Get your own user data { #get-your-own-user-data }
    
    Now use the operation `GET` with the path `/users/me`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/security/simple-oauth2.md

    Haz clic en el botón "Authorize".
    
    Usa las credenciales:
    
    Usuario: `johndoe`
    
    Contraseña: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    Después de autenticarte en el sistema, lo verás así:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Obtener tus propios datos de usuario { #get-your-own-user-data }
    
    Ahora usa la operación `GET` con la path `/users/me`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/metadata.md

    /// tip | Подсказка
    
    Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе.
    
    ///
    
    С этой конфигурацией автоматическая документация API будет выглядеть так:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## Идентификатор лицензии { #license-identifier }
    
    Начиная с OpenAPI 3.1.0 и FastAPI 0.99.0, вы также можете задать `license_info` с помощью `identifier` вместо `url`.
    
    К примеру:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/async-tests.md

    `TestClient` 是基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a> 的。幸运的是,我们可以直接使用它来测试API。
    
    ## 示例
    
    举个简单的例子,让我们来看一个[更大的应用](../tutorial/bigger-applications.md){.internal-link target=_blank}和[测试](../tutorial/testing.md){.internal-link target=_blank}中描述的类似文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    文件 `main.py` 将包含:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/global-dependencies.md

    ## Dependências para conjuntos de *operações de rota* { #dependencies-for-groups-of-path-operations }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/request-form-models.md

    ## Перевірка документації
    
    Ви можете перевірити це в UI документації за `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/request-form-models/image01.png">
    </div>
    
    ## Заборона додаткових полів форми
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 20 14:16:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top