Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,674 for ujson (0.03 sec)

  1. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testHeaderMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.header("Content-Type", "application/json").header("Accept", "application/json");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testThreadPoolMethod() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. docs/de/docs/alternatives.md

    Es kann nicht sehr gut mit verschachtelten Modellen umgehen. Wenn es sich beim JSON-Body im Request also um ein JSON-Objekt mit inneren Feldern handelt, die wiederum verschachtelte JSON-Objekte sind, kann er nicht richtig dokumentiert und validiert werden.
    
    /// check | Inspirierte **FastAPI**
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  3. docs/ja/docs/how-to/conditional-openapi.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    すると、以下のように `/openapi.json`, `/docs`, `/redoc` のどのURLにアクセスしても、 `404 Not Found` エラーが返ってくるようになります。
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. internal/logger/config.go

    		},
    	}
    )
    
    // Config console and http logger targets
    type Config struct {
    	Console      Console                 `json:"console"`
    	HTTP         map[string]http.Config  `json:"http"`
    	AuditWebhook map[string]http.Config  `json:"audit"`
    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. docs/es/llm-prompt.md

    * form data: form data (do not translate to "datos de formulario" or "datos de form")
    * import (as in code import): import (do not translate to "importación")
    * JSON Schema: JSON Schema (do not translate to "Esquema JSON")
    * embed: embeber (do not translate to "incrustar")
    * request body: request body (do not translate to "cuerpo de la petición")
    * response body: response body (do not translate to "cuerpo de la respuesta")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. docs/ja/docs/advanced/response-directly.md

    # レスポンスを直接返す
    
    **FastAPI** の *path operation* では、通常は任意のデータを返すことができます: 例えば、 `dict`、`list`、Pydanticモデル、データベースモデルなどです。
    
    デフォルトでは、**FastAPI** は [JSON互換エンコーダ](../tutorial/encoder.md){.internal-link target=_blank} で説明されている `jsonable_encoder` により、返す値を自動的にJSONに変換します。
    
    このとき背後では、JSON互換なデータ (例えば`dict`) を、クライアントへ送信されるレスポンスとして利用される `JSONResponse` の中に含めます。
    
    しかし、*path operation* から `JSONResponse` を直接返すこともできます。
    
    これは例えば、カスタムヘッダーやcookieを返すときに便利です。
    
    ## `Response` を返す
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    Then you just do the same in your tests.
    
    E.g.:
    
    * To pass a *path* or *query* parameter, add it to the URL itself.
    * To pass a JSON body, pass a Python object (e.g. a `dict`) to the parameter `json`.
    * If you need to send *Form Data* instead of JSON, use the `data` parameter instead.
    * To pass *headers*, use a `dict` in the `headers` parameter.
    * For *cookies*, a `dict` in the `cookies` parameter.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/testing.md

    Далі Ви просто повторюєте ці ж дії у ваших тестах.
    
    Наприклад:
    
    * Щоб передати *path* або *query* параметр, додайте його безпосередньо до URL.
    * Щоб передати тіло JSON, передайте Python-об'єкт (наприклад, `dict`) у параметр `json`.
    * Якщо потрібно надіслати *Form Data* замість JSON, використовуйте параметр `data`.
    * Щоб передати заголовки *headers*, використовуйте `dict` у параметрі `headers`.
    * Для *cookies* використовуйте `dict` у параметрі `cookies`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/request-forms-and-files.md

    ファイルとフォームフィールドがフォームデータとしてアップロードされ、ファイルとフォームフィールドを受け取ります。
    
    また、いくつかのファイルを`bytes`として、いくつかのファイルを`UploadFile`として宣言することができます。
    
    /// warning | 注意
    
    *path operation*で複数の`File`と`Form`パラメータを宣言することができますが、JSONとして受け取ることを期待している`Body`フィールドを宣言することはできません。なぜなら、リクエストのボディは`application/json`の代わりに`multipart/form-data`を使ってエンコードされているからです。
    
    これは **FastAPI** の制限ではなく、HTTPプロトコルの一部です。
    
    ///
    
    ## まとめ
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial006b.py

        assert response.status_code == 307
        assert response.headers["location"] == "https://fastapi.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/fastapi": {
                    "get": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 904 bytes
    - Viewed (0)
Back to top