Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for invoke (0.17 sec)

  1. docs/en/docs/advanced/openapi-callbacks.md

    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    * Collect the money.
    * Send a notification back to the API user (the external developer).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/openapi-callbacks.md

    (假设)您的 API 将:
    
    * 把发票发送至外部开发者的消费者
    * 归集现金
    * 把通知发送至 API 的用户(外部开发者)
        * 通过(从您的 API)发送 POST 请求至外部 API (即**回调**)来完成
    
    ## 常规 **FastAPI** 应用
    
    添加回调前,首先看下常规 API 应用是什么样子。
    
    常规 API 应用包含接收 `Invoice` 请求体的*路径操作*,还有包含回调 URL 的查询参数 `callback_url`。
    
    这部分代码很常规,您对绝大多数代码应该都比较熟悉了:
    
    ```Python hl_lines="10-14  37-54"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip "提示"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 22:46:28 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/openapi-callbacks.md

    ## Die normale **FastAPI**-Anwendung
    
    Sehen wir uns zunächst an, wie die normale API-Anwendung aussehen würde, bevor wir den Callback hinzufügen.
    
    Sie verfügt über eine *Pfadoperation*, die einen `Invoice`-Body empfängt, und einen Query-Parameter `callback_url`, der die URL für den Callback enthält.
    
    Dieser Teil ist ziemlich normal, der größte Teil des Codes ist Ihnen wahrscheinlich bereits bekannt:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/openapi-callbacks.md

    * 📈 💸.
    * 📨 📨 🔙 🛠️ 👩‍💻 (🔢 👩‍💻).
        * 👉 🔜 🔨 📨 🏤 📨 (⚪️➡️ *👆 🛠️*) *🔢 🛠️* 🚚 👈 🔢 👩‍💻 (👉 "⏲").
    
    ## 😐 **FastAPI** 📱
    
    ➡️ 🥇 👀 ❔ 😐 🛠️ 📱 🔜 👀 💖 ⏭ ❎ ⏲.
    
    ⚫️ 🔜 ✔️ *➡ 🛠️* 👈 🔜 📨 `Invoice` 💪, & 🔢 🔢 `callback_url` 👈 🔜 🔌 📛 ⏲.
    
    👉 🍕 📶 😐, 🌅 📟 🎲 ⏪ 😰 👆:
    
    ```Python hl_lines="9-13  36-53"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
Back to top