Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 70 for delete (0.31 sec)

  1. docs/en/docs/tutorial/body.md

    !!! info
        To send data, you should use one of: `POST` (the more common), `PUT`, `DELETE` or `PATCH`.
    
        Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/ko/docs/features.md

    ---
    hide:
      - navigation
    ---
    
    # 기능
    
    ## FastAPI의 기능
    
    **FastAPI**는 다음과 같은 기능을 제공합니다:
    
    ### 개방형 표준을 기반으로
    
    * <abbr title="엔드포인트, 라우트로도 알려져 있습니다">경로</abbr><abbr title="POST, GET, PUT, DELETE와 같은 HTTP 메소드로 알려져 있습니다">작동</abbr>, 매개변수, 본문 요청, 보안 그 외의 선언을 포함한 API 생성을 위한 <a href="https://github.com/OAI/OpenAPI-Specification" class="external-link" target="_blank"><strong>OpenAPI</strong></a>
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body.md

    API 基本上肯定要发送**响应体**,但是客户端不一定发送**请求体**。
    
    使用 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 模型声明**请求体**,能充分利用它的功能和优点。
    
    !!! info "说明"
    
        发送数据使用 `POST`(最常用)、`PUT`、`DELETE`、`PATCH` 等操作。
    
        规范中没有定义使用 `GET` 发送请求体的操作,但不管怎样,FastAPI 也支持这种方式,只不过仅用于非常复杂或极端的用例。
    
        我们不建议使用 `GET`,因此,在 Swagger UI 交互文档中不会显示有关 `GET` 的内容,而且代理协议也不一定支持 `GET`。
    
    ## 导入 Pydantic 的 `BaseModel`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/response-model.md

    # 응답 모델
    
    어떤 *경로 작동*이든 매개변수 `response_model`를 사용하여 응답을 위한 모델을 선언할 수 있습니다:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 기타.
    
    ```Python hl_lines="17"
    {!../../../docs_src/response_model/tutorial001.py!}
    ```
    
    !!! note "참고"
        `response_model`은 "데코레이터" 메소드(`get`, `post`, 등)의 매개변수입니다. 모든 매개변수들과 본문(body)처럼 *경로 작동 함수*가 아닙니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body.md

    📣 **📨** 💪, 👆 ⚙️ <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 🏷 ⏮️ 🌐 👫 🏋️ &amp; 💰.
    
    !!! info
        📨 💽, 👆 🔜 ⚙️ 1️⃣: `POST` (🌅 ⚠), `PUT`, `DELETE` ⚖️ `PATCH`.
    
        📨 💪 ⏮️ `GET` 📨 ✔️ ⚠ 🎭 🔧, 👐, ⚫️ 🐕‍🦺 FastAPI, 🕴 📶 🏗/😕 ⚙️ 💼.
    
        ⚫️ 🚫, 🎓 🩺 ⏮️ 🦁 🎚 🏆 🚫 🎦 🧾 💪 🕐❔ ⚙️ `GET`, &amp; 🗳 🖕 💪 🚫 🐕‍🦺 ⚫️.
    
    ## 🗄 Pydantic `BaseModel`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/response-model.md

    Параметр `response_model` может быть указан для любой *операции пути*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * и др.
    
    === "Python 3.10+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="17  22  24-27"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 30.5K bytes
    - Viewed (0)
  7. fastapi/applications.py

            Add a *path operation* using an HTTP DELETE operation.
    
            ## Example
    
            ```python
            from fastapi import FastAPI
    
            app = FastAPI()
    
            @app.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
            ```
            """
            return self.router.delete(
                path,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. fastapi/routing.py

            """
            Add a *path operation* using an HTTP DELETE operation.
    
            ## Example
    
            ```python
            from fastapi import APIRouter, FastAPI
    
            app = FastAPI()
            router = APIRouter()
    
            @router.delete("/items/{item_id}")
            def delete_item(item_id: str):
                return {"message": "Item deleted"}
    
            app.include_router(router)
            ```
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/sql-databases.md

    ## CRUD utils
    
    Now let's see the file `sql_app/crud.py`.
    
    In this file we will have reusable functions to interact with the data in the database.
    
    **CRUD** comes from: **C**reate, **R**ead, **U**pdate, and **D**elete.
    
    ...although in this example we are only creating and reading.
    
    ### Read data
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  10. docs/es/docs/async.md

    ### Hamburguesas Concurrentes
    
    Vas con la persona que te gusta 😍 a pedir comida rápida 🍔, haces cola mientras el cajero 💁 recoge los pedidos de las personas de delante tuyo.
    
    <img src="https://fastapi.tiangolo.com/img/async/concurrent-burgers/concurrent-burgers-01.png" alt="illustration">
    
    Llega tu turno, haces tu pedido de 2 hamburguesas impresionantes para esa persona 😍 y para ti.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top