Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for Cookie2 (0.12 sec)

  1. docs/em/docs/tutorial/schema-extra-example.md

        ```
    
    !!! warning
        🚧 🤯 👈 📚 ➕ ❌ 🚶‍♀️ 🏆 🚫 🚮 🙆 🔬, 🕴 ➕ ℹ, 🧾 🎯.
    
    ## `example` & `examples` 🗄
    
    🕐❔ ⚙️ 🙆:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    👆 💪 📣 💽 `example` ⚖️ 👪 `examples` ⏮️ 🌖 ℹ 👈 🔜 🚮 **🗄**.
    
    ### `Body` ⏮️ `example`
    
    📥 👥 🚶‍♀️ `example` 📊 ⌛ `Body()`:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    * It also declares an optional `last_query` cookie, as a `str`.
        * If the user didn't provide any query `q`, we use the last query used, which we saved to a cookie before.
    
    ## Use the dependency
    
    Then we can use the dependency with:
    
    === "Python 3.10+"
    
        ```Python hl_lines="23"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/testing.md

    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    For more information about how to pass data to the backend (using `httpx` or the `TestClient`) check the <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX documentation</a>.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        * Sie hängt von `query_extractor` ab und weist den von diesem zurückgegebenen Wert dem Parameter `q` zu.
    * Sie deklariert außerdem ein optionales `last_query`-Cookie, ein `str`.
        * Wenn der Benutzer keine Query `q` übermittelt hat, verwenden wir die zuletzt übermittelte Query, die wir zuvor in einem Cookie gespeichert haben.
    
    ## Die Abhängigkeit verwenden
    
    Diese Abhängigkeit verwenden wir nun wie folgt:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:09:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/testing.md

    * Wenn Sie *Formulardaten* anstelle von JSON senden müssen, verwenden Sie stattdessen den `data`-Parameter.
    * Um *Header* zu übergeben, verwenden Sie ein `dict` im `headers`-Parameter.
    * Für *Cookies* ein `dict` im `cookies`-Parameter.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:20:01 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. fastapi/security/open_id_connect_url.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, with OpenID
                    Connect or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = OpenIdConnectModel(
                openIdConnectUrl=openIdConnectUrl, description=description
            )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/using-request-directly.md

    # Den Request direkt verwenden
    
    Bisher haben Sie die Teile des Requests, die Sie benötigen, mithilfe von deren Typen deklariert.
    
    Daten nehmend von:
    
    * Dem Pfad als Parameter.
    * Headern.
    * Cookies.
    * usw.
    
    Und indem Sie das tun, validiert **FastAPI** diese Daten, konvertiert sie und generiert automatisch Dokumentation für Ihre API.
    
    Es gibt jedoch Situationen, in denen Sie möglicherweise direkt auf das `Request`-Objekt zugreifen müssen.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:18:32 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/testing.md

    接着只需在测试中同样操作。
    
    示例:
    
    * 传一个*路径* 或*查询* 参数,添加到URL上。
    * 传一个JSON体,传一个Python对象(例如一个`dict`)到参数 `json`。
    * 如果你需要发送 *Form Data* 而不是 JSON,使用 `data` 参数。
    * 要发送 *headers*,传 `dict` 给 `headers` 参数。
    * 对于 *cookies*,传 `dict` 给 `cookies` 参数。
    
    关于如何传数据给后端的更多信息 (使用`httpx` 或 `TestClient`),请查阅 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX 文档</a>.
    
    !!! info "信息"
        注意 `TestClient` 接收可以被转化为JSON的数据,而不是Pydantic模型。
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/response-directly.md

    Sie können jedoch direkt eine `JSONResponse` von Ihren *Pfadoperationen* zurückgeben.
    
    Das kann beispielsweise nützlich sein, um benutzerdefinierte Header oder Cookies zurückzugeben.
    
    ## Eine `Response` zurückgeben
    
    Tatsächlich können Sie jede `Response` oder jede Unterklasse davon zurückgeben.
    
    !!! tip "Tipp"
        `JSONResponse` selbst ist eine Unterklasse von `Response`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:36 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/schema-extra-example.md

    ## `example` e `examples` no OpenAPI
    
    Ao usar quaisquer dos:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    você também pode declarar um dado `example` ou um grupo de `examples` com informações adicionais que serão adicionadas ao **OpenAPI**.
    
    ### `Body` com `example`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top