- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 1,922 for djson (0.03 seconds)
-
fastapi/encoders.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/conditional-openapi.md
這裡我們宣告 `openapi_url` 設定,預設值同樣是 `"/openapi.json"`。 接著在建立 `FastAPI` 應用時使用它。 然後你可以將環境變數 `OPENAPI_URL` 設為空字串,以停用 OpenAPI(包含文件 UI),如下: <div class="termy"> ```console $ OPENAPI_URL= uvicorn main:app <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 之後若你造訪 `/openapi.json`、`/docs` 或 `/redoc`,會看到如下的 `404 Not Found` 錯誤: ```JSON
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
Eles serão convertidos para seus valores correspondentes (strings neste caso) antes de serem retornados ao cliente: {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *} No seu cliente, você receberá uma resposta JSON como: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。 /// #### 返回枚举成员 { #return-enumeration-members } 即使嵌套在 JSON 请求体里(例如,`dict`),也可以从路径操作返回枚举成员。 返回给客户端之前,会把枚举成员转换为对应的值(本例中为字符串): {* ../../docs_src/path_params/tutorial005_py310.py hl[18,21,23] *} 客户端中的 JSON 响应如下: ```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 7.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
| -H 'Authorization: Bearer abc123' \ | -H 'Content-Type: application/json; charset=utf-8' \ | --data '{"key":"value"}' """.trimMargin(), ) } @Test fun bodyContentTypeTakesPrecedence() { val body = "{\"key\":\"value\"}".toRequestBody("application/json".toMediaType()) val request = Request .Builder()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 24.6K bytes - Click Count (0) -
docs/en/docs/tutorial/request-files.md
## What is "Form Data" { #what-is-form-data } The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON. **FastAPI** will make sure to read that data from the right place instead of JSON. /// note | Technical Details Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded` when it doesn't include files.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7K bytes - Click Count (0) -
docs/pt/docs/tutorial/request-files.md
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. **FastAPI** se certificará de ler esses dados do lugar certo, ao invés de JSON. /// note | Detalhes Técnicos Dados de formulários normalmente são codificados usando o "media type" `application/x-www-form-urlencoded` quando não incluem arquivos.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java
// ============== /** * Retrieves the list of installed plugins. * * @return JSON response containing installed plugin list */ // GET /api/admin/plugin/installed @Execute public JsonResponse<ApiResult> get$installed() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StatsTests.java
assertTrue(response.contains("version"), "Response should contain 'version' field"); // Verify response can be parsed as JSON final Map<String, Object> res = JsonPath.from(response).getMap("response"); assertNotNull(res, "Response should be valid JSON"); logger.info("[END] statsResponseFormatTest"); } @Test void multipleStatsCallsTest() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.8K bytes - Click Count (0)