Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,058 for png (0.1 seconds)

  1. docs/zh/docs/advanced/additional-responses.md

                }
            }
        }
    }
    ```
    
    ## 主响应的其他媒体类型 { #additional-media-types-for-the-main-response }
    
    你可以使用同一个 `responses` 参数为同一个主响应添加不同的媒体类型。
    
    例如,你可以添加一个额外的媒体类型 `image/png`,声明你的*路径操作*可以返回 JSON 对象(媒体类型为 `application/json`)或 PNG 图片:
    
    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    
    /// note | 注意
    
    请注意,你必须直接使用 `FileResponse` 返回图片。
    
    ///
    
    /// info | 信息
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. docs/ko/docs/features.md

    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * [**ReDoc**](https://github.com/Rebilly/ReDoc)을 이용한 대체 API 문서화.
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### 그저 현대 파이썬 { #just-modern-python }
    
    (Pydantic 덕분에) 모든 것이 표준 **Python 타입** 선언을 기반으로 합니다. 새로 배울 문법이 없습니다. 그저 표준적인 현대 파이썬입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. scripts/playwright/separate_openapi_schemas/image04.py

        page.set_viewport_size({"width": 960, "height": 820})
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image04.png"
        )
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["uvicorn", "docs_src.separate_openapi_schemas.tutorial001:app"]
    )
    try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1K bytes
    - Click Count (0)
  4. scripts/playwright/json_base64_bytes/image01.py

        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="POST /data Post Data").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/json-base64-bytes/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/json_base64_bytes/tutorial001_py310.py"]
    )
    try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/additional-responses.md

        }
    }
    ```
    
    ## メインのレスポンスに追加のメディアタイプ { #additional-media-types-for-the-main-response }
    
    同じ `responses` パラメータを使って、同一のメインレスポンスに別のメディアタイプを追加できます。
    
    例えば、`image/png` の追加メディアタイプを加え、あなたの *path operation* が JSON オブジェクト(メディアタイプ `application/json`)または PNG 画像を返せることを宣言できます:
    
    {* ../../docs_src/additional_responses/tutorial002_py310.py hl[17:22,26] *}
    
    /// note | 備考
    
    画像は `FileResponse` を使って直接返す必要がある点に注意してください。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

          MultipartBody
            .Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart(
              "image",
              "logo-square.png",
              File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
            ).build()
    
        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. cmd/signature-v4-utils_test.go

    func TestCheckMetaHeaders(t *testing.T) {
    	signedHeadersMap := map[string][]string{
    		"X-Amz-Meta-Test":      {"test"},
    		"X-Amz-Meta-Extension": {"png"},
    		"X-Amz-Meta-Name":      {"imagepng"},
    	}
    	expectedMetaTest := "test"
    	expectedMetaExtension := "png"
    	expectedMetaName := "imagepng"
    	r, err := http.NewRequest(http.MethodPut, "http://play.min.io:9000", nil)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/response-status-code.md

    ///
    
    它會:
    
    * 在回應中傳回該狀態碼。
    * 在 OpenAPI 結構中如此記錄(因此也會反映在使用者介面中):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | 注意
    
    有些回應碼(見下一節)表示回應不包含本文(body)。
    
    FastAPI 知道這點,並會產生聲明「無回應本文」的 OpenAPI 文件。
    
    ///
    
    ## 關於 HTTP 狀態碼 { #about-http-status-codes }
    
    /// note | 注意
    
    如果你已經知道什麼是 HTTP 狀態碼,可以直接跳到下一節。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  9. docs/tr/docs/index.md

    ### Alternatif API dokümantasyonu { #alternative-api-docs }
    
    Ve şimdi [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) adresine gidin.
    
    Alternatif otomatik dokümantasyonu göreceksiniz ([ReDoc](https://github.com/Rebilly/ReDoc) tarafından sağlanır):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Örneği Güncelleyelim { #example-upgrade }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/security/simple-oauth2.md

    Click the "Authorize" button.
    
    Use the credentials:
    
    User: `johndoe`
    
    Password: `secret`
    
    <img src="/img/tutorial/security/image04.png">
    
    After authenticating in the system, you will see it like:
    
    <img src="/img/tutorial/security/image05.png">
    
    ### Get your own user data { #get-your-own-user-data }
    
    Now use the operation `GET` with the path `/users/me`.
    
    You will get your user's data, like:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top