Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 700 for POST (0.03 seconds)

  1. fastapi/security/oauth2.py

        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
        app = FastAPI()
    
    
        @app.post("/login")
        def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/request-files.md

    인코딩과 폼 필드에 대해 더 알고싶다면, [<abbr title="Mozilla Developer Network - 모질라 개발자 네트워크">MDN</abbr> 웹 문서의 `POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST)를 참고하기 바랍니다.
    
    ///
    
    /// warning | 경고
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    假設現在你的 **FastAPI** 應用所在的 `main.py` 有一些其他的路徑操作(path operations)。
    
    它有一個可能回傳錯誤的 `GET` 操作。
    
    它有一個可能回傳多種錯誤的 `POST` 操作。
    
    兩個路徑操作都需要一個 `X-Token` 標頭(header)。
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### 擴充的測試檔案 { #extended-testing-file }
    
    接著你可以把 `test_main.py` 更新為擴充後的測試:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/testing.md

    让我们继续之前的文件结构:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    假设现在包含**FastAPI** app的文件 `main.py` 有些其他**路径操作**。
    
    有个 `GET` 操作会返回错误。
    
    有个 `POST` 操作会返回一些错误。
    
    所有*路径操作* 都需要一个`X-Token` 头。
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### 扩展后的测试文件 { #extended-testing-file }
    
    然后您可以使用扩展后的测试更新`test_main.py`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. docs/tr/docs/tutorial/testing.md

    ```
    
    Diyelim ki **FastAPI** uygulamanızın bulunduğu `main.py` dosyasında artık başka **path operations** da var.
    
    Hata döndürebilecek bir `GET` operation'ı var.
    
    Birden fazla farklı hata döndürebilecek bir `POST` operation'ı var.
    
    Her iki *path operation* da `X-Token` header'ını gerektiriyor.
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### Genişletilmiş Test Dosyası { #extended-testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.32.md

    - Kubeadm: `kubeadm upgrade node` now supports `addon` and `post-upgrade` phases. User can use `kubeadm upgrade node phase addon` to execute the addon upgrade, or use `kubeadm upgrade node --skip-phases addon` to skip the addon upgrade. Currently, the `post-upgrade` phase is no-op, and it is mainly used to handle some release specific post-upgrade tasks. ([#127242](https://github.com/kubernetes/kubernetes/pull/127242), [@SataQiu](https://github.com/SataQiu))...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 26 23:58:21 GMT 2026
    - 470.5K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.5.md

    * bootstrap: Start hostNetwork pods even if network plugin not ready ([#33347](https://github.com/kubernetes/kubernetes/pull/33347), [@justinsb](https://github.com/justinsb))
    * Factor out post-init swagger and OpenAPI routes ([#32590](https://github.com/kubernetes/kubernetes/pull/32590), [@sttts](https://github.com/sttts))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 136.4K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/body.md

    Para declarar un **request** body, usas modelos de [Pydantic](https://docs.pydantic.dev/) con todo su poder y beneficios.
    
    /// info | Información
    
    Para enviar datos, deberías usar uno de estos métodos: `POST` (el más común), `PUT`, `DELETE` o `PATCH`.
    
    Enviar un body con un request `GET` tiene un comportamiento indefinido en las especificaciones, no obstante, es soportado por FastAPI, solo para casos de uso muy complejos/extremos.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/cors.md

    * Agrégalo como un "middleware" a tu aplicación **FastAPI**.
    
    También puedes especificar si tu backend permite:
    
    * Credenciales (headers de autorización, cookies, etc).
    * 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_py310.py hl[2,6:11,13:19] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/response-model.md

    Puedes usar el parámetro `response_model` en cualquiera de las *path operations*:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *}
    
    /// note | Nota
    
    Observa que `response_model` es un parámetro del método "decorador" (`get`, `post`, etc). No de tu *path operation function*, como todos los parámetros y el cuerpo.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
Back to Top