Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 310 for cookey (0.81 sec)

  1. docs/pt/docs/advanced/response-directly.md

    Mas você pode retornar a `JSONResponse` diretamente nas suas *operações de rota*.
    
    Pode ser útil para retornar cabeçalhos e cookies personalizados, por exemplo.
    
    ## Retornando uma `Response`
    
    Na verdade, você pode retornar qualquer `Response` ou subclasse dela.
    
    /// tip | Dica
    
    A própria `JSONResponse` é uma subclasse de `Response`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/testing.md

    * *パス* または *クエリ* パラメータを渡すには、それをURL自体に追加します。
    * JSONボディを渡すには、Pythonオブジェクト (例: `dict`) を `json` パラメータに渡します。
    * JSONの代わりに *フォームデータ* を送信する必要がある場合は、代わりに `data` パラメータを使用してください。
    * *ヘッダー* を渡すには、`headers` パラメータに `dict` を渡します。
    * *cookies* の場合、 `cookies` パラメータに `dict` です。
    
    (`httpx` または `TestClient` を使用して) バックエンドにデータを渡す方法の詳細は、<a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPXのドキュメント</a>を確認してください。
    
    /// info | "情報"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. fastapi/security/http.py

                    It is also useful when you want to have authentication that can be
                    provided in one of multiple optional ways (for example, in an HTTP
                    Bearer token or in a cookie).
                    """
                ),
            ] = True,
        ):
            self.model = HTTPBearerModel(bearerFormat=bearerFormat, description=description)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. 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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/using-request-directly.md

    # Using the Request Directly
    
    Up to now, you have been declaring the parts of the request that you need with their types.
    
    Taking data from:
    
    * The path as parameters.
    * Headers.
    * Cookies.
    * etc.
    
    And by doing so, **FastAPI** is validating that data, converting it and generating documentation for your API automatically.
    
    But there are situations where you might need to access the `Request` object directly.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/schema-extra-example.md

    ```Python hl_lines="4  10-13"
    {!> ../../docs_src/schema_extra_example/tutorial002.py!}
    ```
    
    ////
    
    ## JSON Schema에서의 `examples` - OpenAPI
    
    이들 중에서 사용합니다:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    **OpenAPI**의 **JSON 스키마**에 추가될 부가적인 정보를 포함한 `examples` 모음을 선언할 수 있습니다.
    
    ### `examples`를 포함한 `Body`
    
    여기, `Body()`에 예상되는 예제 데이터 하나를 포함한 `examples`를 넘겼습니다:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/using-request-directly.md

    # Utilizando o Request diretamente
    
    Até agora você declarou as partes da requisição que você precisa utilizando os seus tipos.
    
    Obtendo dados de:
    
    * Os parâmetros das rotas.
    * Cabeçalhos (*Headers*).
    * Cookies.
    * etc.
    
    E ao fazer isso, o **FastAPI** está validando as informações, convertendo-as e gerando documentação para a sua API automaticamente.
    
    Porém há situações em que você possa precisar acessar o objeto `Request` diretamente.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. docs/fa/docs/features.md

    * کلید های API:
        * <abbr title="سرصفحه ها">Headers</abbr>
        * <abbr title="پارامترهای پرسمان">Query parameters</abbr>
        * <abbr title="کوکی ها">Cookies</abbr>، و غیره.
    
    به علاوه تمام ویژگی های امنیتی از **Statlette** (شامل **<abbr title="کوکی های جلسه">session cookies</abbr>**)
    
    همه اینها به عنوان ابزارها و اجزای قابل استفاده ای ساخته شده اند که به راحتی با سیستم های شما، مخازن داده، پایگاه های داده رابطه ای و NoSQL و غیره ادغام میشوند.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/request-forms.md

    ```
    
    例如,OAuth2 规范的 "密码流" 模式规定要通过表单字段发送 `username` 和 `password`。
    
    <abbr title="specification">该规范</abbr>要求字段必须命名为 `username` 和 `password`,并通过表单字段发送,不能用 JSON。
    
    使用 `Form` 可以声明与 `Body` (及 `Query`、`Path`、`Cookie`)相同的元数据和验证。
    
    /// info | "说明"
    
    `Form` 是直接继承自 `Body` 的类。
    
    ///
    
    /// tip | "提示"
    
    声明表单体要显式使用 `Form` ,否则,FastAPI 会把该参数当作查询参数或请求体(JSON)参数。
    
    ///
    
    ## 关于 "表单字段"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. 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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top