Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 491 for Hello (0.03 seconds)

  1. docs/fr/docs/advanced/wsgi.md

    Si vous l'exécutez et allez à [http://localhost:8000/v1/](http://localhost:8000/v1/) vous verrez la réponse de Flask :
    
    ```txt
    Hello, World from Flask!
    ```
    
    Et si vous allez à [http://localhost:8000/v2](http://localhost:8000/v2) vous verrez la réponse de FastAPI :
    
    ```JSON
    {
        "message": "Hello World"
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | İpucu
    
    `aGVsbG8=` değeri, `hello` kelimesinin base64 encoding'idir.
    
    ///
    
    Sonrasında Pydantic base64 string'ini decode eder ve modelin `data` alanında size orijinal bytes'ı verir.
    
    Şöyle bir response alırsınız:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Çıkış Verisi için Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/json-base64-bytes.md

    ```json
    {
        "description": "Some data",
        "data": "aGVsbG8="
    }
    ```
    
    /// tip | 팁
    
    `aGVsbG8=`는 `hello`의 base64 인코딩입니다.
    
    ///
    
    그러면 Pydantic이 base64 문자열을 디코딩하여 모델의 `data` 필드에 원래 바이트를 제공합니다.
    
    다음과 같은 응답을 받게 됩니다:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## 출력 데이터용 Pydantic `bytes` { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Tipp
    
    `aGVsbG8=` ist die base64-Kodierung von `hello`.
    
    ///
    
    Anschließend dekodiert Pydantic den base64-String und stellt Ihnen die ursprünglichen Bytes im Feld `data` des Modells bereit.
    
    Sie erhalten eine Response wie:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` für Ausgabedaten { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. docs/en/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    /// check | Inspired **FastAPI** to
    
    * Have a simple and intuitive API.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/docker.md

    * Create an empty file `__init__.py`.
    * Create a `main.py` file with:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile { #dockerfile }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  7. docs_src/behind_a_proxy/tutorial004_py310.py

        ],
        root_path="/api/v1",
        root_path_in_servers=False,
    )
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 437 bytes
    - Click Count (0)
  8. docs/es/docs/advanced/json-base64-bytes.md

        "data": "aGVsbG8="
    }
    ```
    
    /// tip | Consejo
    
    `aGVsbG8=` es la codificación base64 de `hello`.
    
    ///
    
    Y luego Pydantic decodificará el string base64 y te dará los bytes originales en el campo `data` del modelo.
    
    Recibirás una response como:
    
    ```json
    {
      "description": "Some data",
      "content": "hello"
    }
    ```
    
    ## Pydantic `bytes` para datos de salida { #pydantic-bytes-for-output-data }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs_src/behind_a_proxy/tutorial002_py310.py

    from fastapi import FastAPI, Request
    
    app = FastAPI(root_path="/api/v1")
    
    
    @app.get("/app")
    def read_main(request: Request):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 208 bytes
    - Click Count (0)
  10. docs_src/app_testing/app_a_py310/test_main.py

    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 238 bytes
    - Click Count (0)
Back to Top