Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,062 for forms (0.05 sec)

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

    /// 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"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-forms.md

    ## Sobre "Campos de formulário"
    
    A forma como os formulários HTML (`<form></form>`) enviam os dados para o servidor normalmente usa uma codificação "especial" para esses dados, é diferente do JSON.
    
    O **FastAPI** fará a leitura desses dados no lugar certo em vez de JSON.
    
    /// note | "Detalhes técnicos"
    
    Os dados dos formulários são normalmente codificados usando o "tipo de mídia" `application/x-www-form-urlencoded`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/request-forms.md

    ⏮️ `Form` 👆 💪 📣 🎏 📳 ⏮️ `Body` (&amp; `Query`, `Path`, `Cookie`), 🔌 🔬, 🖼, 📛 (✅ `user-name` ↩️ `username`), ♒️.
    
    /// info
    
    `Form` 🎓 👈 😖 🔗 ⚪️➡️ `Body`.
    
    ///
    
    /// tip
    
    📣 📨 💪, 👆 💪 ⚙️ `Form` 🎯, ↩️ 🍵 ⚫️ 🔢 🔜 🔬 🔢 🔢 ⚖️ 💪 (🎻) 🔢.
    
    ///
    
    ## 🔃 "📨 🏑"
    
    🌌 🕸 📨 (`<form></form>`) 📨 💽 💽 🛎 ⚙️ "🎁" 🔢 👈 📊, ⚫️ 🎏 ⚪️➡️ 🎻.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/request-forms.md

    `Form`では`Body`(および`Query`や`Path`、`Cookie`)と同じメタデータとバリデーションを宣言することができます。
    
    /// info | "情報"
    
    `Form`は`Body`を直接継承するクラスです。
    
    ///
    
    /// tip | "豆知識"
    
    フォームのボディを宣言するには、明示的に`Form`を使用する必要があります。なぜなら、これを使わないと、パラメータはクエリパラメータやボディ(JSON)パラメータとして解釈されるからです。
    
    ///
    
    ## 「フォームフィールド」について
    
    HTMLフォーム(`<form></form>`)がサーバにデータを送信する方法は、通常、そのデータに「特別な」エンコーディングを使用していますが、これはJSONとは異なります。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/request-forms.md

    # 表单数据
    
    接收的不是 JSON,而是表单字段时,要使用 `Form`。
    
    /// info | "说明"
    
    要使用表单,需预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
    例如,`pip install python-multipart`。
    
    ///
    
    ## 导入 `Form`
    
    从 `fastapi` 导入 `Form`:
    
    ```Python hl_lines="1"
    {!../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ## 定义 `Form` 参数
    
    创建表单(`Form`)参数的方式与 `Body` 和 `Query` 一样:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/request-forms.md

    /// info | "Bilgi"
    
    `Form` doğrudan `Body` sınıfını miras alan bir sınıftır.
    
    ///
    
    /// tip | "İpucu"
    
    Form gövdelerini tanımlamak için `Form` sınıfını kullanmanız gerekir; çünkü bu olmadan parametreler sorgu parametreleri veya gövde (JSON) parametreleri olarak yorumlanır.
    
    ///
    
    ## "Form Alanları" Hakkında
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/request-forms.md

    Wenn Sie Felder aus Formularen statt JSON empfangen müssen, können Sie `Form` verwenden.
    
    /// info
    
    Um Formulare zu verwenden, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>.
    
    Z. B. `pip install python-multipart`.
    
    ///
    
    ## `Form` importieren
    
    Importieren Sie `Form` von `fastapi`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/request-forms.md

    Когда вам нужно получить поля формы вместо JSON, вы можете использовать `Form`.
    
    /// info | "Дополнительная информация"
    
    Чтобы использовать формы, сначала установите <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Например, выполните команду `pip install python-multipart`.
    
    ///
    
    ## Импорт `Form`
    
    Импортируйте `Form` из `fastapi`:
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-forms-and-files.md

    /// warning | "Aviso"
    
    Você pode declarar vários parâmetros `File` e `Form` em uma *operação de caminho*, mas não é possível declarar campos `Body` para receber como JSON, pois a requisição terá o corpo codificado usando `multipart/form-data` ao invés de `application/json`.
    
    Isso não é uma limitação do **FastAPI** , é parte do protocolo HTTP.
    
    ///
    
    ## Recapitulando
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top