- Sort Score
- Result 10 results
- Languages All
Results 11 - 11 of 11 for pathes (0.14 sec)
-
docs/zh/docs/tutorial/path-params.md
``` /files/{file_path:path} ``` 本例中,参数名为 `file_path`,结尾部分的 `:path` 说明该参数应匹配*路径*。 用法如下: ```Python hl_lines="6" {!../../../docs_src/path_params/tutorial004.py!} ``` !!! tip "提示" 注意,包含 `/home/johndoe/myfile.txt` 的路径参数要以斜杠(`/`)开头。 本例中的 URL 是 `/files//home/johndoe/myfile.txt`。注意,`files` 和 `home` 之间要使用**双斜杠**(`//`)。 ## 小结
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 01 05:35:40 GMT 2024 - 7.6K bytes - Viewed (0)