- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 89 for johndoe (0.07 sec)
-
docs/de/docs/tutorial/security/simple-oauth2.md
Verwenden Sie nun die Operation `GET` mit dem Pfad `/users/me`. Sie erhalten Ihre Benutzerdaten: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Sep 20 15:10:09 UTC 2025 - 11.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
Now use the operation `GET` with the path `/users/me`. You will get your user's data, like: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
Ahora usa la operación `GET` con la path `/users/me`. Obtendrás los datos de tu usuario, como: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-params.md
```JSON { "model_name": "alexnet", "message": "Deep Learning FTW!" } ``` ## 包含路径的路径参数 假设*路径操作*的路径为 `/files/{file_path}`。 但需要 `file_path` 中也包含*路径*,比如,`home/johndoe/myfile.txt`。 此时,该文件的 URL 是这样的:`/files/home/johndoe/myfile.txt`。 ### OpenAPI 支持 OpenAPI 不支持声明包含路径的*路径参数*,因为这会导致测试和定义更加困难。 不过,仍可使用 Starlette 内置工具在 **FastAPI** 中实现这一功能。 而且不影响文档正常运行,但是不会添加该参数包含路径的说明。 ### 路径转换器Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 15 16:43:19 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
Digamos que você tenha uma *operação de rota* com um path `/files/{file_path}`. Mas você precisa que o próprio `file_path` contenha um *path*, como `home/johndoe/myfile.txt`. Então, a URL para esse arquivo seria algo como: `/files/home/johndoe/myfile.txt`. ### Suporte do OpenAPI { #openapi-support }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.8K bytes - Viewed (0) -
docs_src/path_operation_configuration/tutorial002_py310.py
@app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 537 bytes - Viewed (0) -
docs/de/docs/tutorial/security/oauth2-jwt.md
Benutzername: `johndoe` Passwort: `secret` /// check | Testen Beachten Sie, dass im Code nirgendwo das Klartext-Passwort „`secret`“ steht, wir haben nur die gehashte Version. /// <img src="/img/tutorial/security/image08.png"> Rufen Sie den Endpunkt `/users/me/` auf, Sie erhalten die Response: ```JSON { "username": "johndoe", "email": "******@****.***",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 01 15:19:54 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/es/docs/tutorial/security/oauth2-jwt.md
Usando las credenciales: Usuario: `johndoe` Contraseña: `secret` /// check | Revisa Observa que en ninguna parte del código está la contraseña en texto claro "`secret`", solo tenemos la versión con hash. /// <img src="/img/tutorial/security/image08.png"> Llama al endpoint `/users/me/`, obtendrás el response como: ```JSON { "username": "johndoe", "email": "******@****.***",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
Using the credentials: Username: `johndoe` Password: `secret` /// check Notice that nowhere in the code is the plaintext password "`secret`", we only have the hashed version. /// <img src="/img/tutorial/security/image08.png"> Call the endpoint `/users/me/`, you will get the response as: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 10.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/items/", 200, [{"name": "Foo", "price": 42}]), ("/users/", 200, [{"username": "johndoe"}]), ("/elements/", 200, [{"item_id": "Foo"}]), ], ) def test_query_params_str_validations(path, expected_status, expected_response): response = client.get(path)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0)