Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 744 for POST (0.12 sec)

  1. .github/actions/notify-translations/app/main.py

            "category_id": category_id,
            "discussion_number": discussion_number,
            "discussion_id": discussion_id,
            "comment_id": comment_id,
            "body": body,
        }
        response = httpx.post(
            github_graphql_url,
            headers=headers,
            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
        if response.status_code != 200:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body.md

    /// info
    
    Um Daten zu versenden, sollten Sie eines von: `POST` (meistverwendet), `PUT`, `DELETE` oder `PATCH` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/body.md

    **请求体**是客户端发送给 API 的数据。**响应体**是 API 发送给客户端的数据。
    
    API 基本上肯定要发送**响应体**,但是客户端不一定发送**请求体**。
    
    使用 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> 模型声明**请求体**,能充分利用它的功能和优点。
    
    /// info | "说明"
    
    发送数据使用 `POST`(最常用)、`PUT`、`DELETE`、`PATCH` 等操作。
    
    规范中没有定义使用 `GET` 发送请求体的操作,但不管怎样,FastAPI 也支持这种方式,只不过仅用于非常复杂或极端的用例。
    
    我们不建议使用 `GET`,因此,在 Swagger UI 交互文档中不会显示有关 `GET` 的内容,而且代理协议也不一定支持 `GET`。
    
    ///
    
    ## 导入 Pydantic 的 `BaseModel`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/cors.md

    * `CORSMiddleware` 임포트.
    * 허용되는 출처(문자열 형식)의 리스트 생성.
    * FastAPI 응용 프로그램에 "미들웨어(middleware)"로 추가.
    
    백엔드에서 다음의 사항을 허용할지에 대해 설정할 수도 있습니다:
    
    * 자격증명 (인증 헤더, 쿠키 등).
    * 특정한 HTTP 메소드(`POST`, `PUT`) 또는 와일드카드 `"*"` 를 사용한 모든 HTTP 메소드.
    * 특정한 HTTP 헤더 또는 와일드카드 `"*"` 를 사용한 모든 HTTP 헤더.
    
    ```Python hl_lines="2  6-11  13-19"
    {!../../docs_src/cors/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body.md

    /// info | "Informação"
    
    Para enviar dados, você deve usar utilizar um dos métodos: `POST` (Mais comum), `PUT`, `DELETE` ou `PATCH`.
    
    Enviar um corpo em uma requisição `GET` não tem um comportamento definido nas especificações, porém é suportado pelo FastAPI, apenas para casos de uso bem complexos/extremos.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @param req The servlet request
         * @param resp The servlet response
         * @param skipAuthentication If true the negotiation is only done if it is
         * initiated by the client (MSIE post requests after successful NTLM SSP
         * authentication). If false and the user has not been authenticated yet
         * the client will be forced to send an authentication (server sends
         * HttpServletResponse.SC_UNAUTHORIZED).
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    Dans OpenAPI, les chemins sont des ressources, tels que /users/ ou /items/, exposées par votre API, et les opérations sont les méthodes HTTP utilisées pour manipuler ces chemins, telles que GET, POST ou DELETE. Les operationId sont des chaînes uniques facultatives utilisées pour identifier une opération d'un chemin. Vous pouvez définir l'OpenAPI `operationId` à utiliser dans votre *opération de chemin* avec le paramètre `operation_id`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/testing.md

    Nehmen wir an, dass die Datei `main.py` mit Ihrer **FastAPI**-Anwendung jetzt einige andere **Pfadoperationen** hat.
    
    Sie verfügt über eine `GET`-Operation, die einen Fehler zurückgeben könnte.
    
    Sie verfügt über eine `POST`-Operation, die mehrere Fehler zurückgeben könnte.
    
    Beide *Pfadoperationen* erfordern einen `X-Token`-Header.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/testing.md

    │   └── test_main.py
    ```
    
    Предположим, что в файле `main.py` с приложением **FastAPI** есть несколько **операций пути**.
    
    В нём описана операция `GET`, которая может вернуть ошибку.
    
    Ещё есть операция `POST` и она тоже может вернуть ошибку.
    
    Обе *операции пути* требуют наличия в запросе заголовка `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkPostMethod(final Map<String, Object> body, final String path) {
            Response response = checkMethodBase(body).post(getApiPath() + "/" + path);
            // logger.debug(response.asString());
            return response;
        }
    
        protected Response checkDeleteMethod(final String path) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top