Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for jquery (0.19 sec)

  1. docs/em/docs/tutorial/request-forms.md

    ```
    
    ## 🔬 `Form` 🔢
    
    ✍ 📨 🔢 🎏 🌌 👆 🔜 `Body` ⚖️ `Query`:
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    🖼, 1️⃣ 🌌 Oauth2️⃣ 🔧 💪 ⚙️ (🤙 "🔐 💧") ⚫️ ✔ 📨 `username` & `password` 📨 🏑.
    
    <abbr title="specification">🔌</abbr> 🚚 🏑 ⚫️❔ 📛 `username` &amp; `password`, &amp; 📨 📨 🏑, 🚫 🎻.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/request-forms.md

    ```
    
    ## `Form`のパラメータの定義
    
    `Body`や`Query`の場合と同じようにフォームパラメータを作成します:
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    例えば、OAuth2仕様が使用できる方法の1つ(「パスワードフロー」と呼ばれる)では、フォームフィールドとして`username`と`password`を送信する必要があります。
    
    <abbr title="仕様">仕様</abbr>では、フィールドの名前が`username`と`password`であることと、JSONではなくフォームフィールドとして送信されることを要求しています。
    
    `Form`では`Body`(および`Query`や`Path`、`Cookie`)と同じメタデータとバリデーションを宣言することができます。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/request-forms.md

    ```
    
    ## 定义 `Form` 参数
    
    创建表单(`Form`)参数的方式与 `Body` 和 `Query` 一样:
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    例如,OAuth2 规范的 "密码流" 模式规定要通过表单字段发送 `username` 和 `password`。
    
    <abbr title="specification">该规范</abbr>要求字段必须命名为 `username` 和 `password`,并通过表单字段发送,不能用 JSON。
    
    使用 `Form` 可以声明与 `Body` (及 `Query`、`Path`、`Cookie`)相同的元数据和验证。
    
    !!! info "说明"
    
        `Form` 是直接继承自 `Body` 的类。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    !!! info
        `Form` is a class that inherits directly from `Body`.
    
    !!! tip
        To declare form bodies, you need to use `Form` explicitly, because without it the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    ## About "Form Fields"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/request-forms.md

    Mit `Form` haben Sie die gleichen Konfigurationsmöglichkeiten wie mit `Body` (und `Query`, `Path`, `Cookie`), inklusive Validierung, Beispielen, einem Alias (z. B. `user-name` statt `username`), usw.
    
    !!! info
        `Form` ist eine Klasse, die direkt von `Body` erbt.
    
    !!! tip "Tipp"
        Um Formularbodys zu deklarieren, verwenden Sie explizit `Form`, da diese Parameter sonst als Query-Parameter oder Body(-JSON)-Parameter interpretiert werden würden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:54 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/request-forms.md

    Importe `Form` de `fastapi`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ## Declare parâmetros de `Form`
    
    Crie parâmetros de formulário da mesma forma que você faria para `Body` ou `Query`:
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/request-forms.md

        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms/tutorial001.py!}
        ```
    
    ## Определение параметров `Form`
    
    Создайте параметры формы так же, как это делается для `Body` или `Query`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/request_forms/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top