Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 642 for Form (0.02 seconds)

  1. docs_src/request_forms/tutorial001_py39.py

    from fastapi import FastAPI, Form
    
    app = FastAPI()
    
    
    @app.post("/login/")
    async def login(username: str = Form(), password: str = Form()):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 173 bytes
    - Click Count (0)
  2. tests/test_request_params/test_form/test_optional_str.py

        return {"p": p}
    
    
    class FormModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.post("/model-optional-str", operation_id="model_optional_str")
    async def read_model_optional_str(p: Annotated[FormModelOptionalStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. gradle/wrapper/gradle-wrapper.jar

    entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work"...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 01:56:29 GMT 2025
    - 44.6K bytes
    - Click Count (1)
  4. docs/ko/docs/tutorial/request-files.md

    ///
    
    ## "폼 데이터"란
    
    HTML의 폼들(`<form></form>`)이 서버에 데이터를 전송하는 방식은 대개 데이터에 JSON과는 다른 "특별한" 인코딩을 사용합니다.
    
    **FastAPI**는 JSON 대신 올바른 위치에서 데이터를 읽을 수 있도록 합니다.
    
    /// note | 기술적 세부사항
    
    폼의 데이터는 파일이 포함되지 않은 경우 일반적으로 "미디어 유형" `application/x-www-form-urlencoded` 을 사용해 인코딩 됩니다.
    
    하지만 파일이 포함된 경우, `multipart/form-data`로 인코딩됩니다. `File`을 사용하였다면, **FastAPI**는 본문의 적합한 부분에서 파일을 가져와야 한다는 것을 인지합니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. cmd/postpolicyform.go

    	}
    	return false
    }
    
    // S3 docs: "Each form field that you specify in a form (except x-amz-signature, file, policy, and field names
    // that have an x-ignore- prefix) must appear in the list of conditions."
    // https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html
    // keyInPolicyExceptions - list of keys that, when present in the form, can be missing in the conditions of the policy.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  6. LICENSES/vendor/github.com/containerd/errdefs/pkg/LICENSE

          exercising permissions granted by this License.
    
          "Source" form shall mean the preferred form for making modifications,
          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Mar 05 11:36:39 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. tests/test_request_params/test_form/test_required_str.py

        return {"p": p}
    
    
    class FormModelRequiredStr(BaseModel):
        p: str
    
    
    @app.post("/model-required-str", operation_id="model_required_str")
    async def read_model_required_str(p: Annotated[FormModelRequiredStr, Form()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/request-forms-and-files.md

    # リクエストフォームとファイル
    
    `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。
    
    /// info | 情報
    
    アップロードされたファイルやフォームデータを受信するには、まず<a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
    例えば、`pip install python-multipart`のように。
    
    ///
    
    ## `File`と`Form`のインポート
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[1] *}
    
    ## `File`と`Form`のパラメータの定義
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/request-files.md

    ///
    
    ## O que é "Form Data" { #what-is-form-data }
    
    O jeito que os formulários HTML (`<form></form>`) enviam os dados para o servidor normalmente usa uma codificação "especial" para esses dados, a qual é diferente do JSON.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. LICENSE.txt

          exercising permissions granted by this License.
    
          "Source" form shall mean the preferred form for making modifications,
          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 23 14:02:28 GMT 2012
    - 11.1K bytes
    - Click Count (0)
Back to Top