Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for uploadFile (0.06 sec)

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

    `Body` 및 `Query`와 동일한 방식으로 파일과 폼의 매개변수를 생성합니다:
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[8] *}
    
    파일과 폼 필드는 폼 데이터 형식으로 업로드되어 파일과 폼 필드로 전달됩니다.
    
    어떤 파일들은 `bytes`로, 또 어떤 파일들은 `UploadFile`로 선언할 수 있습니다.
    
    /// warning | 경고
    
    다수의 `File`과 `Form` 매개변수를 한 *경로 작동*에 선언하는 것이 가능하지만, 요청의 본문이 `application/json`가 아닌 `multipart/form-data`로 인코딩 되기 때문에 JSON으로 받아야하는 `Body` 필드를 함께 선언할 수는 없습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

        - how-to/authentication-error-status-code.md
    - Reference (Code API):
      - reference/index.md
      - reference/fastapi.md
      - reference/parameters.md
      - reference/status.md
      - reference/uploadfile.md
      - reference/exceptions.md
      - reference/dependencies.md
      - reference/apirouter.md
      - reference/background.md
      - reference/request.md
      - reference/websockets.md
      - reference/httpconnection.md
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:44:55 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

    from starlette.concurrency import run_in_threadpool
    from starlette.datastructures import (
        FormData,
        Headers,
        ImmutableMultiDict,
        QueryParams,
        UploadFile,
    )
    from starlette.requests import HTTPConnection, Request
    from starlette.responses import Response
    from starlette.websockets import WebSocket
    from typing_extensions import Literal, get_args, get_origin
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  4. docs/en/docs/release-notes.md

    ## 0.73.0
    
    ### Features
    
    * ✨ Add support for declaring `UploadFile` parameters without explicit `File()`. PR [#4469](https://github.com/tiangolo/fastapi/pull/4469) by [@tiangolo](https://github.com/tiangolo). New docs: [Request Files - File Parameters with UploadFile](https://fastapi.tiangolo.com/tutorial/request-files/#file-parameters-with-uploadfile).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial002.py

        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/uploadfiles/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
                ),
            )
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. docs/sts/client-grants.py

                                      'hosts',
                                      ExtraArgs={'ServerSideEncryption': 'AES256'})
    
    # Upload with server side encryption, using temporary credentials
    s3.meta.client.upload_file('/etc/hosts',
                               'testbucket',
                               'hosts',
                               ExtraArgs={'ServerSideEncryption': 'AES256'})
    
    # Download encrypted object using temporary credentials
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.2K bytes
    - Viewed (0)
Back to top