Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for localhost (0.15 sec)

  1. docs/zh/docs/advanced/wsgi.md

    现在,所有定义在 `/v1/` 路径下的请求将会被 Flask 应用处理。
    
    其余的请求则会被 **FastAPI** 处理。
    
    如果您使用 Uvicorn 运行应用实例并且访问 <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a>,您将会看到由 Flask 返回的响应:
    
    ```txt
    Hello, World from Flask!
    ```
    
    并且如果您访问 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a>,您将会看到由 FastAPI 返回的响应:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/wsgi.md

    &amp; 🎂 🔜 🍵 **FastAPI**.
    
    🚥 👆 🏃 ⚫️ ⏮️ Uvicorn &amp; 🚶 <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> 👆 🔜 👀 📨 ⚪️➡️ 🏺:
    
    ```txt
    Hello, World from Flask!
    ```
    
    &amp; 🚥 👆 🚶 <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> 👆 🔜 👀 📨 ⚪️➡️ FastAPI:
    
    ```JSON
    {
        "message": "Hello World"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    It could look like this:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
        "generate-client": "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios"
      },
      "author": "",
      "license": "",
      "devDependencies": {
        "@hey-api/openapi-ts": "^0.27.38",
        "typescript": "^4.6.2"
      }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/query-params-str-validations.md

        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="7"
        {!> ../../../docs_src/query_params_str_validations/tutorial011_py310.py!}
        ```
    
    ⤴️, ⏮️ 📛 💖:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    👆 🔜 📨 💗 `q` *🔢 🔢'* 💲 (`foo` &amp; `bar`) 🐍 `list` 🔘 👆 *➡ 🛠️ 🔢*, *🔢 🔢* `q`.
    
    , 📨 👈 📛 🔜:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/wsgi.md

    Wenn Sie das mit Uvicorn ausführen und auf <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> gehen, sehen Sie die Response von Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    Und wenn Sie auf <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> gehen, sehen Sie die Response von FastAPI:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:05 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-params-str-validations.md

    例如,要声明一个可在 URL 中出现多次的查询参数 `q`,你可以这样写:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial011.py!}
    ```
    
    然后,输入如下网址:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    你会在*路径操作函数*的*函数参数* `q` 中以一个 Python `list` 的形式接收到*查询参数* `q` 的多个值(`foo` 和 `bar`)。
    
    因此,该 URL 的响应将会是:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/wsgi.md

    And the rest will be handled by **FastAPI**.
    
    If you run it and go to <a href="http://localhost:8000/v1/" class="external-link" target="_blank">http://localhost:8000/v1/</a> you will see the response from Flask:
    
    ```txt
    Hello, World from Flask!
    ```
    
    And if you go to <a href="http://localhost:8000/v2" class="external-link" target="_blank">http://localhost:8000/v2</a> you will see the response from FastAPI:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial011.py!}
        ```
    
    Затем, получив такой URL:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    вы бы получили несколько значений (`foo` и `bar`), которые относятся к параметру `q`, в виде Python `list` внутри вашей *функции обработки пути*, в *параметре функции* `q`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/query_params_str_validations/tutorial011.py!}
        ```
    
    Dann, mit einer URL wie:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    bekommen Sie alle `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-Liste – `list` – in ihrer *Pfadoperation-Funktion*, im Funktionsparameter `q`, überreicht.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/generate-clients.md

    Diese könnte so aussehen:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
        "generate-client": "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios"
      },
      "author": "",
      "license": "",
      "devDependencies": {
        "@hey-api/openapi-ts": "^0.27.38",
        "typescript": "^4.6.2"
      }
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top