- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 214 for sample (0.91 sec)
-
docs/em/docs/advanced/openapi-callbacks.md
## ๐ฌ โฒ โ โฒ ๐ ๐ ๐ช ๐ ๐ ๐ ๐ ๐ ๏ธ ๐ฑ. & โซ๏ธ ๐ ๐ฒ ๐ช ๐ โช๏ธโก๏ธ 1๏ธโฃ ๐ฑ โญ. โซ๏ธ ๐ช 1๏ธโฃ โ๏ธ 2๏ธโฃ โธ ๐, ๐: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ``` โ๏ธ ๐ฒ ๐ โ ๐ โฒ โ ๐ญ ๐ ๐ ๐ ๏ธ ๐ฉโ๐ป (๐ข ๐ฉโ๐ป) ๐ ๏ธ *๐ข ๐ ๏ธ* โ, ๐ ๐ฝ ๐ *๐ ๐ ๏ธ* ๐ ๐จ ๐จ ๐ช โฒ, โ๏ธ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
<img src="https://fastapi.tiangolo.com/img/tutorial/security/image05.png"> ### ่ทๅๅฝๅ็จๆทๆฐๆฎ ไฝฟ็จ `/users/me` ่ทฏๅพ็ `GET` ๆไฝใ ๅฏไปฅๆๅๅฆไธๅฝๅ็จๆทๆฐๆฎ๏ผ ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="https://fastapi.tiangolo.com/img/tutorial/security/image06.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.8K bytes - Viewed (0) -
docs/em/docs/tutorial/security/simple-oauth2.md
<img src="/img/tutorial/security/image05.png"> ### ๐ค ๐ ๐ ๐ฉโ๐ป ๐ฝ ๐ โ๏ธ ๐ ๏ธ `GET` โฎ๏ธ โก `/users/me`. ๐ ๐ ๐ค ๐ ๐ฉโ๐ป ๐, ๐: ```JSON { "username": "johndoe", "email": "johndoe@example.com", "full_name": "John Doe", "disabled": false, "hashed_password": "fakehashedsecret" } ``` <img src="/img/tutorial/security/image06.png">
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
ไพใใฐใ`Body`ใซใใใฃใชใฏใจในใใฎ`example`ใๆธกใใใจใใงใใพใ: ```Python hl_lines="21 22 23 24 25 26" {!../../../docs_src/schema_extra_example/tutorial003.py!} ``` ## ใใญใฅใกใณใใฎUIใฎไพ ไธ่จใฎใใใใฎๆนๆณใงใใ`/docs`ใฎไธญใงใฏไปฅไธใฎใใใซใชใใพใ: <img src="https://fastapi.tiangolo.com/img/tutorial/body-fields/image01.png"> ## ๆ่ก่ฉณ็ดฐ `example` ใจ `examples`ใซใคใใฆ...
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
![Swagger UI](https://fastapi.tiangolo.com/img/index/index-01-swagger-ui-simple.png) ### ๅฏ้็ API ๆๆกฃ ๅๅพ <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>ใ ไฝ ๅฐไผ็ๅฐๅฏ้็่ชๅจ็ๆๆๆกฃ ๏ผ็ฑ <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a> ๆไพ)๏ผ ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ### OpenAPI
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 9.2K bytes - Viewed (0) -
tests/test_security_http_basic_realm_description.py
assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' def test_security_http_basic_invalid_credentials(): response = client.get( "/users/me", headers={"Authorization": "Basic notabase64token"} ) assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"' assert response.json() == {"detail": "Invalid authentication credentials"}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.8K bytes - Viewed (0) -
docs/fr/docs/benchmarks.md
En particulier, on voit Uvicorn, Starlette et FastAPI comparรฉs (parmi de nombreux autres outils). Plus le problรจme rรฉsolu par un outil est simple, mieux seront les performances obtenues. Et la plupart des tests de performance ne prennent pas en compte les fonctionnalitรฉs additionnelles fournies par les outils. La hiรฉrarchie est la suivante :
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:49:56 GMT 2023 - 3.9K bytes - Viewed (0) -
tests/test_response_model_data_filter_no_inheritance.py
response = client.post( "/users", json={"email": "johndoe@example.com", "password": "secret"} ) assert response.json() == {"email": "johndoe@example.com"} def test_filter_second_level_model(): response = client.get("/pets/1") assert response.json() == { "name": "Nibbler", "owner": {"email": "johndoe@example.com"}, } def test_list_of_models():
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
"url": IsOneOf( "https://stag.example.com/", # TODO: remove when deprecating Pydantic v1 "https://stag.example.com", ), "description": "Staging environment", }, { "url": IsOneOf( "https://prod.example.com/", # TODO: remove when deprecating Pydantic v1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.6K bytes - Viewed (0) -
docs/en/docs/tutorial/metadata.md
### Create metadata for tags Let's try that in an example with tags for `users` and `items`. Create metadata for your tags and pass it to the `openapi_tags` parameter: ```Python hl_lines="3-16 18" {!../../../docs_src/metadata/tutorial004.py!} ``` Notice that you can use Markdown inside of the descriptions, for example "login" will be shown in bold (**login**) and "fancy" will be shown in italics (_fancy_).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sun Mar 31 23:52:53 GMT 2024 - 5.8K bytes - Viewed (0)