- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,928 for post (0.02 sec)
-
docs_src/body_nested_models/tutorial009.py
from typing import Dict from fastapi import FastAPI app = FastAPI() @app.post("/index-weights/") async def create_index_weights(weights: Dict[int, float]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 179 bytes - Viewed (0) -
src/packaging/common/scripts/postrm
${packaging.scripts.header} # # This script is executed in the post-removal phase # # On Debian, # $1=remove : indicates a removal # $1=purge : indicates an upgrade # # On RedHat, # $1=0 : indicates a removal # $1=1 : indicates an upgrade SOURCE_ENV_FILE=true REMOVE_DIRS=false REMOVE_SERVICE=false REMOVE_USER_AND_GROUP=false case "$1" in
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Dec 10 01:24:02 UTC 2015 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py
def get_client() -> TestClient: from docs_src.separate_openapi_schemas.tutorial001 import app client = TestClient(app) return client def test_create_item(client: TestClient) -> None: response = client.post("/items/", json={"name": "Foo"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Foo", "description": None} def test_read_items(client: TestClient) -> None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py
from docs_src.separate_openapi_schemas.tutorial001_py39 import app client = TestClient(app) return client @needs_py39 def test_create_item(client: TestClient) -> None: response = client.post("/items/", json={"name": "Foo"}) assert response.status_code == 200, response.text assert response.json() == {"name": "Foo", "description": None} @needs_py39 def test_read_items(client: TestClient) -> None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 4.9K bytes - Viewed (0) -
docs/de/docs/advanced/openapi-webhooks.md
## Webhooks mit **FastAPI** und OpenAPI dokumentieren Mit **FastAPI** können Sie mithilfe von OpenAPI die Namen dieser Webhooks, die Arten von HTTP-Operationen, die Ihre Anwendung senden kann (z. B. `POST`, `PUT`, usw.) und die Request**bodys** definieren, die Ihre Anwendung senden würde.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_pv1.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 272 bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 317 bytes - Viewed (0) -
docs_src/request_form_models/tutorial002_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 06 17:31:18 UTC 2024 - 307 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
from dirty_equals import IsDict, IsOneOf from fastapi.testclient import TestClient from docs_src.response_model.tutorial003_01 import app client = TestClient(app) def test_post_user(): response = client.post( "/user/", json={ "username": "foo", "password": "fighter", "email": "******@****.***", "full_name": "Grave Dohl", }, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
assertThat(delete.method).isEqualTo("DELETE") assertThat(delete.body!!.contentLength()).isEqualTo(0L) val post = Request.Builder().url("http://localhost/api").post(body).build() assertThat(post.method).isEqualTo("POST") assertThat(post.body).isEqualTo(body) val put = Request.Builder().url("http://localhost/api").put(body).build() assertThat(put.method).isEqualTo("PUT")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0)