Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 721 for POST (0.02 sec)

  1. docs/es/docs/advanced/openapi-webhooks.md

    Con **FastAPI**, usando OpenAPI, puedes definir los nombres de estos webhooks, los tipos de operaciones HTTP que tu aplicación puede enviar (por ejemplo, `POST`, `PUT`, etc.) y los **bodies** de las requests que tu aplicación enviaría.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-webhooks.md

    ## Documenting webhooks with **FastAPI** and OpenAPI { #documenting-webhooks-with-fastapi-and-openapi }
    
    With **FastAPI**, using OpenAPI, you can define the names of these webhooks, the types of HTTP operations that your app can send (e.g. `POST`, `PUT`, etc.) and the request **bodies** that your app would send.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. tests/test_response_model_data_filter.py

    
    class UserDB(UserBase):
        hashed_password: str
    
    
    class PetDB(BaseModel):
        name: str
        owner: UserDB
    
    
    class PetOut(BaseModel):
        name: str
        owner: UserBase
    
    
    @app.post("/users/", response_model=UserBase)
    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. docs/ru/docs/advanced/openapi-callbacks.md

    Пользователь вашего API (внешний разработчик) создаст счет в вашем API с помощью POST-запроса.
    
    Затем ваш API (предположим) сделает следующее:
    
    * Отправит счет клиенту внешнего разработчика.
    * Получит оплату.
    * Отправит уведомление обратно пользователю API (внешнему разработчику).
        * Это будет сделано отправкой POST-запроса (из *вашего API*) в *внешний API*, предоставленный этим внешним разработчиком (это и есть «callback»).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            else -> header("Cache-Control", value)
          }
        }
    
        open fun get(): Builder = method("GET", null)
    
        open fun head(): Builder = method("HEAD", null)
    
        open fun post(body: RequestBody): Builder = method("POST", body)
    
        @JvmOverloads
        open fun delete(body: RequestBody? = RequestBody.EMPTY): Builder = method("DELETE", body)
    
        open fun put(body: RequestBody): Builder = method("PUT", body)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  6. tests/test_additional_responses_custom_model_in_callback.py

    callback_router = APIRouter(default_response_class=JSONResponse)
    
    
    @callback_router.get(
        "{$callback_url}/callback/", responses={400: {"model": CustomModel}}
    )
    def callback_route():
        pass  # pragma: no cover
    
    
    @app.post("/", callbacks=callback_router.routes)
    def main_route(callback_url: HttpUrl):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/openapi-webhooks.md

    Mit **FastAPI**, mithilfe von OpenAPI, können Sie die Namen dieser Webhooks, die Arten von HTTP-Operationen, die Ihre App senden kann (z. B. `POST`, `PUT`, usw.) und die Request**bodys** definieren, die Ihre App senden würde.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. .teamcity/scripts/common.sh

      fi
    }
    
    # Function to write and execute a build script from environment variable content
    execute_build_script_from_env() {
      local script_content="$1"
      echo "${script_content}" > "${TMPDIR}/pre-or-post-build.sh"
      bash -x "${TMPDIR}/pre-or-post-build.sh"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_path_operation_configurations/test_tutorial002.py

        mod = importlib.import_module(
            f"docs_src.path_operation_configuration.{request.param}"
        )
        return TestClient(mod.app)
    
    
    def test_post_items(client: TestClient):
        response = client.post(
            "/items/",
            json={
                "name": "Foo",
                "description": "Item description",
                "price": 42.0,
                "tax": 3.2,
                "tags": ["bar", "baz"],
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py

        mod = importlib.import_module(
            f"docs_src.path_operation_configuration.{request.param}"
        )
        return TestClient(mod.app)
    
    
    def test_post_items(client: TestClient):
        response = client.post(
            "/items/",
            json={
                "name": "Foo",
                "description": "Item description",
                "price": 42.0,
                "tax": 3.2,
                "tags": ["bar", "baz"],
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top