Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 223 for COOKIE (0.07 sec)

  1. 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: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. fastapi/params.py

    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    
        def __init__(
            self,
            default: Any = Undefined,
            *,
            default_factory: Union[Callable[[], Any], None] = _Unset,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/schema-extra-example.md

    ```
    
    ////
    
    /// warning
    
    🚧 🤯 👈 📚 ➕ ❌ 🚶‍♀️ 🏆 🚫 🚮 🙆 🔬, 🕴 ➕ ℹ, 🧾 🎯.
    
    ///
    
    ## `example` & `examples` 🗄
    
    🕐❔ ⚙️ 🙆:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    👆 💪 📣 💽 `example` ⚖️ 👪 `examples` ⏮️ 🌖 ℹ 👈 🔜 🚮 **🗄**.
    
    ### `Body` ⏮️ `example`
    
    📥 👥 🚶‍♀️ `example` 📊 ⌛ `Body()`:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    }
    
    public final class okhttp3/Cookie$Builder {
    	public fun <init> ()V
    	public final fun build ()Lokhttp3/Cookie;
    	public final fun domain (Ljava/lang/String;)Lokhttp3/Cookie$Builder;
    	public final fun expiresAt (J)Lokhttp3/Cookie$Builder;
    	public final fun hostOnlyDomain (Ljava/lang/String;)Lokhttp3/Cookie$Builder;
    	public final fun httpOnly ()Lokhttp3/Cookie$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py

                                    {"title": "Ads Id", "type": "string"}
                                ),
                                "name": "ads_id",
                                "in": "cookie",
                            }
                        ],
                    }
                }
            },
            "components": {
                "schemas": {
                    "ValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_cookie_params/test_tutorial001.py

                                    {"title": "Ads Id", "type": "string"}
                                ),
                                "name": "ads_id",
                                "in": "cookie",
                            }
                        ],
                    }
                }
            },
            "components": {
                "schemas": {
                    "ValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

        else:
    
            class Config:
                extra = "allow"
    
    
    class ParameterInType(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Encoding(BaseModelWithConfig):
        contentType: Optional[str] = None
        headers: Optional[Dict[str, Union["Header", Reference]]] = None
        style: Optional[str] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/cors.md

    これを実現するには、バックエンドに「許可されたオリジン」のリストがなければなりません。
    
    この場合、フロントエンドを正しく機能させるには、そのリストに `http://localhost:8080` を含める必要があります。
    
    ## ワイルドカード
    
    リストを `"*"` (ワイルドカード) と宣言して、すべてを許可することもできます。
    
    ただし、Bearer Tokenで使用されるような認証ヘッダーやCookieなどのクレデンシャル情報に関するものを除いて、特定の種類の通信のみが許可されます。
    
    したがって、すべてを正しく機能させるために、許可されたオリジンの明示的な指定をお勧めします。
    
    ## `CORSMiddleware` の使用
    
    **FastAPI** アプリケーションでは `CORSMiddleware` を使用して、CORSに関する設定ができます。
    
    * `CORSMiddleware`をインポートします。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py

                                    {"title": "Ads Id", "type": "string"}
                                ),
                                "name": "ads_id",
                                "in": "cookie",
                            }
                        ],
                    }
                }
            },
            "components": {
                "schemas": {
                    "ValidationError": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

        * Ela depende do `query_extractor`, e atribui o valor retornado pela função ao parâmetro `q`.
    * Ela também declara um cookie opcional `last_query`, do tipo `str`.
        * Se o usuário não passou nenhuma consulta `q`, a última consulta é utilizada, que foi salva em um cookie anteriormente.
    
    ## Utilizando a dependência
    
    Então podemos utilizar a dependência com:
    
    //// tab | Python 3.10+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top