Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,093 for _body (0.02 sec)

  1. docs/uk/docs/tutorial/request-forms-and-files.md

    ```
    
    ///
    
    ## Імпорт `File` та `Form`
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Оголошення параметрів `File` та `Form`
    
    Створіть параметри файлів та форми так само як і для `Body` або `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Файли та поля форми будуть завантажені як формові дані, і Ви отримаєте як файли, так і введені користувачем поля.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Feb 20 14:13:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[3] *}
    
    ## Определите параметры `File` и `Form` { #define-file-and-form-parameters }
    
    Создайте параметры файла и формы таким же образом, как для `Body` или `Query`:
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py39.py hl[10:12] *}
    
    Файлы и поля формы будут загружены в виде данных формы, и вы получите файлы и поля формы.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
    
        <menu ref="parent"/>
        <menu ref="reports"/>
      </body>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. api/maven-api-toolchain/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
    
        <menu ref="parent"/>
        <menu ref="reports"/>
      </body>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
    
        <menu ref="parent"/>
        <menu ref="reports"/>
      </body>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. api/src/site/site.xml

      <edit>${project.scm.url}</edit>
    
      <body>
        <menu name="Overview">
          <item name="Introduction" href="index.html"/>
          <item name="Javadocs" href="apidocs/index.html"/>
          <item name="Source Xref" href="xref/index.html"/>
          <!--item name="FAQ" href="faq.html"/-->
        </menu>
    
        <menu ref="parent"/>
        <menu ref="reports"/>
      </body>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. tests/test_openapi_examples.py

    from typing import Union
    
    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/schema-extra-example.md

    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    вы также можете объявить набор `examples` с дополнительной информацией, которая будет добавлена в их **JSON Schema** внутри **OpenAPI**.
    
    ### `Body` с `examples` { #body-with-examples }
    
    Здесь мы передаём `examples`, содержащий один пример данных, ожидаемых в `Body()`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. tests/test_no_schema_split.py

            input=input_message,
            output=MessageOutput(body=f"Processed: {input_message}"),
        )
    
    
    client = TestClient(app)
    
    
    def test_create_message():
        response = client.post("/messages", params={"input_message": "Hello"})
        assert response.status_code == 200, response.text
        assert response.json() == {
            "input": "Hello",
            "output": {"body": "Processed: Hello", "events": []},
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. docs_src/websockets/tutorial002_an_py39.py

        WebSocketException,
        status,
    )
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    html = """
    <!DOCTYPE html>
    <html>
        <head>
            <title>Chat</title>
        </head>
        <body>
            <h1>WebSocket Chat</h1>
            <form action="" onsubmit="sendMessage(event)">
                <label>Item ID: <input type="text" id="itemId" autocomplete="off" value="foo"/></label>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top