- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 484 for heLLo (0.02 seconds)
-
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
assert response.status_code == 404, response.text def test_root(): client = get_client() response = client.get("/") assert response.status_code == 200 assert response.json() == {"message": "Hello World"} def test_default_openapi(): client = get_client() response = client.get("/docs") assert response.status_code == 200, response.text response = client.get("/redoc")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.8K bytes - Click Count (0) -
docs/ru/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Ответ будет примерно таким: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### Установка `root_path` в приложении FastAPI { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 22.7K bytes - Click Count (0) -
docs/uk/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> Відповідь буде приблизно такою: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### Встановлення `root_path` у застосунку FastAPI { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 23.1K bytes - Click Count (0) -
docs/es/docs/advanced/behind-a-proxy.md
<span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> El response sería algo como: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### Configurar el `root_path` en la app de FastAPI { #setting-the-root-path-in-the-fastapi-app }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 16.5K bytes - Click Count (0) -
docs/de/docs/advanced/behind-a-proxy.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 18K bytes - Click Count (0) -
docs/zh-hant/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` 相對地,FastAPI 的 API 路徑操作(path operation)可能像這樣: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` 看看 `requests.get(...)` 與 `@app.get(...)` 的相似之處。 /// check | 啟發 **FastAPI** * 擁有簡單直觀的 API。 * 直接使用 HTTP 方法名稱(操作),以直接、直觀的方式表達。 * 具備合理的預設值,同時提供強大的自訂能力。 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 20K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
{* ../../docs_src/custom_response/tutorial009c_py310.py hl[9:14,17] *} Anstatt Folgendes zurückzugeben: ```json {"message": "Hello World"} ``` ... wird diese Response Folgendes zurückgeben: ```json { "message": "Hello World" } ``` Natürlich werden Sie wahrscheinlich viel bessere Möglichkeiten finden, Vorteil daraus zu ziehen, als JSON zu formatieren. 😉Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/tr/docs/advanced/custom-response.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/zh-hant/docs/deployment/docker.md
* 建立一個 `app` 目錄並進入。 * 建立一個空的 `__init__.py` 檔案。 * 建立一個 `main.py` 檔案,內容如下: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile { #dockerfile }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 24.9K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.4K bytes - Click Count (0)