Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1601 - 1610 of 1,920 for ujson (0.06 seconds)

  1. docs/zh/docs/advanced/response-cookies.md

    然后设置Cookies,并返回:
    
    {* ../../docs_src/response_cookies/tutorial001_py310.py hl[10:12] *}
    
    /// tip | 提示
    
    需要注意,如果你直接反馈一个response对象,而不是使用`Response`入参,FastAPI则会直接反馈你封装的response对象。
    
    所以你需要确保你响应数据类型的正确性,如:你可以使用`JSONResponse`来兼容JSON的场景。
    
    同时,你也应当仅反馈通过`response_model`过滤过的数据。
    
    ///
    
    ### 更多信息 { #more-info }
    
    /// note | 技术细节
    
    你也可以使用`from starlette.responses import Response` 或者 `from starlette.responses import JSONResponse`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. docs/ja/docs/how-to/custom-request-and-route.md

    たとえば、アプリケーションで処理される前にリクエストボディを読み取ったり操作したりしたい場合です。
    
    /// danger | 警告
    
    これは「上級」機能です。
    
    FastAPI を始めたばかりの場合は、このセクションは読み飛ばしてもよいでしょう。
    
    ///
    
    ## ユースケース { #use-cases }
    
    ユースケースの例:
    
    * JSON ではないリクエストボディを JSON に変換する(例: [`msgpack`](https://msgpack.org/index.html))。
    * gzip 圧縮されたリクエストボディの解凍。
    * すべてのリクエストボディの自動ロギング。
    
    ## カスタムリクエストボディのエンコーディングの処理 { #handling-custom-request-body-encodings }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/query-params.md

    ここで、クエリパラメータ `needy` は `str` 型の必須のクエリパラメータです。
    
    以下のURLをブラウザで開くと:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...必須のパラメータ `needy` を加えなかったので、以下の様なエラーが表示されます:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/metadata.md

    예를 들어, 알파벳 순서상 `users`는 `items` 뒤에 오지만, 우리는 해당 메타데이터를 리스트의 첫 번째 딕셔너리로 추가했기 때문에 먼저 표시됩니다.
    
    ## OpenAPI URL { #openapi-url }
    
    기본적으로 OpenAPI 스키마는 `/openapi.json`에서 제공됩니다.
    
    하지만 `openapi_url` 매개변수로 이를 설정할 수 있습니다.
    
    예를 들어, 이를 `/api/v1/openapi.json`에서 제공하도록 설정하려면:
    
    {* ../../docs_src/metadata/tutorial002_py310.py hl[3] *}
    
    OpenAPI 스키마를 완전히 비활성화하려면 `openapi_url=None`으로 설정할 수 있으며, 이를 사용하여 문서화 사용자 인터페이스도 비활성화됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. scripts/people.py

            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
        if response.status_code != 200:
            logging.error(
                f"Response was not 200, after: {after}, category_id: {category_id}"
            )
            logging.error(response.text)
            raise RuntimeError(response.text)
        data = response.json()
        if "errors" in data:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. cmd/bucket-metadata.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"crypto/rand"
    	"encoding/binary"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"path"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/tags"
    	bucketsse "github.com/minio/minio/internal/bucket/encryption"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

        /**
         * Default constructor.
         */
        public ApiAdminBackupAction() {
            super();
        }
    
        /**
         * Retrieves a list of available backup files.
         *
         * @return JSON response with backup file list
         */
        // GET /api/admin/backup/files
        @Execute
        public JsonResponse<ApiResult> files() {
            final List<Map<String, String>> list = getBackupItems();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/dataclasses.md

        FastAPI ist weiterhin in der Lage, die Daten nach JSON zu <dfn title="Konvertieren der Daten in ein übertragbares Format">Serialisieren</dfn>.
    
    7. Hier verwendet das `response_model` als Typannotation eine Liste von `Author`-Datenklassen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/dataclasses.md

    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <dfn title="converting the data to a format that can be transmitted">serializing</dfn> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. docs/ko/docs/tutorial/header-params.md

    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    다음과 같은 두 개의 HTTP 헤더를 전송하여 해당 *경로 처리* 와 통신할 경우:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    응답은 다음과 같습니다:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 요약 { #recap }
    
    `Header`는 `Query`, `Path`, `Cookie`와 동일한 패턴을 사용하여 선언합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Jan 11 00:15:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
Back to Top