- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 93 for loc (0.04 sec)
-
docs/zh-hant/docs/tutorial/query-param-models.md
```http https://example.com/items/?limit=10&tool=plumbus ``` 他們將收到一個**錯誤**回應,告訴他們查詢參數 `tool` 是不允許的: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["query", "tool"], "msg": "Extra inputs are not permitted", "input": "plumbus" } ] } ``` ## 總結 你可以使用 **Pydantic 模型**在 **FastAPI** 中聲明**查詢參數**。😎 /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Nov 27 22:14:10 UTC 2024 - 2K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-form-models.md
* `extra`: `Mr. Poopybutthole` Ele receberá um retorno de erro informando-o que o campo `extra` não é permitido: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole" } ] } ``` ## Resumo
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
"ValidationError": { "title": "ValidationError", "required": [ "loc", "msg", "type" ], "type": "object", "properties": { "loc": { "title": "Location", "type": "array", "items": {
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/cookie-param-models.md
```json { "detail": [ { "type": "extra_forbidden", "loc": ["cookie", "santa_tracker"], "msg": "Extra inputs are not permitted", "input": "good-list-please", } ] } ``` ## Підсумок
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Mar 19 17:03:38 UTC 2025 - 4.7K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/handling-errors.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:31:13 UTC 2025 - 13.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/query-param-models.md
```http https://example.com/items/?limit=10&tool=plumbus ``` 클라이언트는 쿼리 매개변수 `tool` 이 허용되지 않는다는 **에러** 응답을 받게 됩니다. ```json { "detail": [ { "type": "extra_forbidden", "loc": ["query", "tool"], "msg": "Extra inputs are not permitted", "input": "plumbus" } ] } ``` ## 요약 **FastAPI** 에서 **쿼리 매개변수** 를 선언할 때 **Pydantic 모델** 을 사용할 수 있습니다. 😎
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Nov 20 19:24:08 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/es/docs/tutorial/query-params.md
``` http://127.0.0.1:8000/items/foo-item ``` ...sin agregar el parámetro requerido `needy`, verás un error como: ```JSON { "detail": [ { "type": "missing", "loc": [ "query", "needy" ], "msg": "Field required", "input": null } ] } ``` Como `needy` es un parámetro requerido, necesitarías establecerlo en la URL:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.9K bytes - Viewed (0)