Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 286 for 19 (0.01 sec)

  1. docs/es/docs/tutorial/cors.md

    * Métodos HTTP específicos (`POST`, `PUT`) o todos ellos con el comodín `"*"`.
    * Headers HTTP específicos o todos ellos con el comodín `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/cors.md

    * Specific HTTP methods (`POST`, `PUT`) or all of them with the wildcard `"*"`.
    * Specific HTTP headers or all of them with the wildcard `"*"`.
    
    {* ../../docs_src/cors/tutorial001_py39.py hl[2,6:11,13:19] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/path-operation-configuration.md

    ## Descripción del Response { #response-description }
    
    Puedes especificar la descripción del response con el parámetro `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info | Información
    
    Ten en cuenta que `response_description` se refiere específicamente al response, mientras que `description` se refiere a la *path operation* en general.
    
    ///
    
    /// check | Revisa
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-operation-configuration.md

    ## Descrição da resposta { #response-description }
    
    Você pode especificar a descrição da resposta com o parâmetro `response_description`:
    
    {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[19] *}
    
    /// info | Informação
    
    Note que `response_description` se refere especificamente à resposta, a `description` se refere à *operação de rota* em geral.
    
    ///
    
    /// check | Verifique
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/additional-responses.md

    }
    
    ```
    ## 主响应的其他媒体类型
    
    您可以使用相同的 `responses` 参数为相同的主响应添加不同的媒体类型。
    
    例如,您可以添加一个额外的媒体类型` image/png` ,声明您的路径操作可以返回JSON对象(媒体类型 `application/json` )或PNG图像:
    
    {* ../../docs_src/additional_responses/tutorial002.py hl[19:24,28] *}
    
    /// note
    
    - 请注意,您必须直接使用 `FileResponse` 返回图像。
    
    ///
    
    /// info
    
    - 除非在 `responses` 参数中明确指定不同的媒体类型,否则**FastAPI**将假定响应与主响应类具有相同的媒体类型(默认为` application/json` )。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:29:26 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002.py hl[25] *}
    
    ## 유저 가져오기
    
    `get_current_user`는 토큰을 `str`로 취하고 Pydantic `User` 모델을 반환하는 우리가 만든 (가짜) 유틸리티 함수를 사용합니다.
    
    {* ../../docs_src/security/tutorial002.py hl[19:22,26:27] *}
    
    ## 현재 유저 주입하기
    
    이제 *경로 작동*에서 `get_current_user`와 동일한 `Depends`를 사용할 수 있습니다.
    
    {* ../../docs_src/security/tutorial002.py hl[31] *}
    
    Pydantic 모델인 `User`로 `current_user`의 타입을 선언하는 것을 알아야 합니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/cors.md

    你也可以指定后端是否允许:
    
    * 凭证(授权 headers,Cookies 等)。
    * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。
    * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。
    
    {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *}
    
    默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。
    
    支持以下参数:
    
    * `allow_origins` - 一个允许跨域请求的源列表。例如 `['https://example.org', 'https://www.example.org']`。你可以使用 `['*']` 允许任何源。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/dataclasses.md

    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Das ist dank **Pydantic** ebenfalls möglich, da es <a href="https://docs.pydantic.dev/latest/concepts/dataclasses/#use-of-stdlib-dataclasses-with-basemodel" class="external-link" target="_blank">`dataclasses` intern unterstützt</a>.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/dataclasses.md

    But FastAPI also supports using <a href="https://docs.python.org/3/library/dataclasses.html" class="external-link" target="_blank">`dataclasses`</a> the same way:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. docs/uk/docs/tutorial/cors.md

    * Конкретні HTTP-методи (`POST`, `PUT`) або всі за допомогою `"*"`
    * Конкретні HTTP-заголовки або всі за допомогою `"*"`.
    
    
    {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *}
    
    Параметри за замовчуванням у `CORSMiddleware` є досить обмеженими, тому Вам потрібно явно вказати конкретні джерела, методи або заголовки, щоб браузери могли використовувати їх у контексті запитів між різними доменами.
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri May 30 13:34:34 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top