Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,922 for djson (0.06 seconds)

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

    /// warning | Advertencia
    
    Puedes declarar múltiples parámetros `File` y `Form` en una *path operation*, pero no puedes también declarar campos `Body` que esperas recibir como JSON, ya que el request tendrá el body codificado usando `multipart/form-data` en lugar de `application/json`.
    
    Esto no es una limitación de **FastAPI**, es parte del protocolo HTTP.
    
    ///
    
    ## Resumen { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                                cleanDestination = true
                                val perfResultArtifactRule =
                                    "results/performance/build/test-results-*.zip!performance-tests/perf-results*.json => " +
                                        "$performanceResultsDir/${performanceTest.bucketIndex}/"
                                artifactRules =
                                    if (index == 0) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jan 07 10:42:35 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  3. scripts/translate.py

    ) -> None:
        translatable_langs = get_llm_translatable()
        if language:
            if language in translatable_langs:
                print(json.dumps([language]))
                return
            else:
                raise typer.Exit(code=1)
        print(json.dumps(translatable_langs))
    
    
    @app.command()
    def commands_json(
        command: Annotated[str | None, typer.Option(envvar="COMMAND")] = None,
    ) -> None:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. cmd/admin-handlers_test.go

    	if rec.Code != http.StatusOK {
    		t.Errorf("Expected to succeed but failed with %d", rec.Code)
    	}
    
    	results := madmin.InfoMessage{}
    	err = json.NewDecoder(rec.Body).Decode(&results)
    	if err != nil {
    		t.Fatalf("Failed to decode set config result json %v", err)
    	}
    
    	if results.Region != globalMinioDefaultRegion {
    		t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (1)
  5. docs/tr/docs/advanced/generate-clients.md

    ### Ön İşlenmiş OpenAPI ile TypeScript Client Üretme { #generate-a-typescript-client-with-the-preprocessed-openapi }
    
    Sonuç artık bir `openapi.json` dosyasında olduğuna göre, input konumunu güncellemeniz gerekir:
    
    ```sh
    npx @hey-api/openapi-ts -i ./openapi.json -o src/client
    ```
    
    Yeni client'ı ürettikten sonra, tüm **otomatik tamamlama**, **satır içi hatalar**, vb. ile birlikte **temiz method isimleri** elde edersiniz:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  6. cmd/admin-heal-ops.go

    	// summary and detail for failures
    	Summary       healStatusSummary `json:"Summary"`
    	FailureDetail string            `json:"Detail,omitempty"`
    	StartTime     time.Time         `json:"StartTime"`
    
    	// settings for the heal sequence
    	HealSettings madmin.HealOpts `json:"Settings"`
    
    	// slice of available heal result records
    	Items []madmin.HealResultItem `json:"Items"`
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/behind-a-proxy.md

    到这里,一切都会像往常一样工作。
    
    但是,当你打开集成的文档界面(前端)时,它会期望在 `/openapi.json` 获取 OpenAPI 模式,而不是在 `/api/v1/openapi.json`。
    
    因此,(在浏览器中运行的)前端会尝试访问 `/openapi.json`,但无法获取 OpenAPI 模式。
    
    因为我们的应用使用了路径前缀为 `/api/v1` 的代理,前端需要从 `/api/v1/openapi.json` 获取 OpenAPI 模式。
    
    ```mermaid
    graph LR
    
    browser("Browser")
    proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  8. README.md

    ----------------
    
    This program posts data to a service. [Full source][post_example].
    
    ```java
    public static final MediaType JSON = MediaType.get("application/json");
    
    OkHttpClient client = new OkHttpClient();
    
    String post(String url, String json) throws IOException {
      RequestBody body = RequestBody.create(json, JSON);
      Request request = new Request.Builder()
          .url(url)
          .post(body)
          .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/request-files.md

    ///
    
    ## 什么是「表单数据」 { #what-is-form-data }
    
    HTML 表单(`<form></form>`)向服务器发送数据的方式通常会对数据使用一种「特殊」的编码,这与 JSON 不同。
    
    **FastAPI** 会确保从正确的位置读取这些数据,而不是从 JSON 中读取。
    
    /// note | 技术细节
    
    当不包含文件时,来自表单的数据通常使用「媒体类型」`application/x-www-form-urlencoded` 编码。
    
    但当表单包含文件时,会编码为 `multipart/form-data`。如果你使用 `File`,**FastAPI** 会知道需要从请求体的正确位置获取文件。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. internal/crypto/sse-kms.go

    	if context, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok {
    		b, err := base64.StdEncoding.DecodeString(context[0])
    		if err != nil {
    			return "", nil, err
    		}
    
    		json := jsoniter.ConfigCompatibleWithStandardLibrary
    		if err := json.Unmarshal(b, &ctx); err != nil {
    			return "", nil, err
    		}
    	}
    
    	keyID := h.Get(xhttp.AmzServerSideEncryptionKmsID)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
Back to Top