Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Hosken (0.2 sec)

  1. docs/en/docs/tutorial/testing.md

    It has a `GET` operation that could return an error.
    
    It has a `POST` operation that could return several errors.
    
    Both *path operations* require an `X-Token` header.
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/testing.md

    Sie verfügt über eine `GET`-Operation, die einen Fehler zurückgeben könnte.
    
    Sie verfügt über eine `POST`-Operation, die mehrere Fehler zurückgeben könnte.
    
    Beide *Pfadoperationen* erfordern einen `X-Token`-Header.
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/testing.md

    В нём описана операция `GET`, которая может вернуть ошибку.
    
    Ещё есть операция `POST` и она тоже может вернуть ошибку.
    
    Обе *операции пути* требуют наличия в запросе заголовка `X-Token`.
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/testing.md

    
    ### 拡張版 **FastAPI** アプリファイル
    
    **FastAPI** アプリに `main_b.py` ファイルがあるとします。
    
    そのファイルには、エラーを返す可能性のある `GET` オペレーションがあります。
    
    また、いくつかのエラーを返す可能性のある `POST` オペレーションもあります。
    
    これらの *path operation* には `X-Token` ヘッダーが必要です。
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/testing.md

    │   ├── main.py
    │   └── test_main.py
    ```
    
    ➡️ 💬 👈 🔜 📁 `main.py` ⏮️ 👆 **FastAPI** 📱 ✔️ 🎏 **➡ 🛠️**.
    
    ⚫️ ✔️ `GET` 🛠️ 👈 💪 📨 ❌.
    
    ⚫️ ✔️ `POST` 🛠️ 👈 💪 📨 📚 ❌.
    
    👯‍♂️ *➡ 🛠️* 🚚 `X-Token` 🎚.
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/testing.md

    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    假设现在包含**FastAPI** app的文件 `main.py`  有些其他**路径操作**。
    
    有个 `GET` 操作会返回错误。
    
    有个 `POST` 操作会返回一些错误。
    
    所有*路径操作* 都需要一个`X-Token` 头。
    
    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top