mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-21 17:35:26 -04:00
📝 Add request body tutorial
This commit is contained in:
1 parent
39ccff7301
commit
ddf20e8977
11 files changed
+141
-7
No files matched your search
@@ -131,7 +131,7 @@ If you don't want to add a specific value but just make it optional, set the def
|
||||
|
||||
But when you want to make a query parameter required, you can just do not declare any default value:
|
||||
|
||||
```Python hl_lines="6 8"
|
||||
```Python hl_lines="6 7"
|
||||
{!./tutorial/src/query-params/tutorial005.py!}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user