Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 149 for 9000 (0.12 sec)

  1. docs/es/docs/index.md

    </details>
    
    ### Revísalo
    
    Abre tu navegador en <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    Verás la respuesta de JSON cómo:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Ya creaste una API que:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/extending-openapi.md

    ```
    
    ### 覆盖方法
    
    用新函数替换 `.openapi()` 方法。
    
    ```Python hl_lines="28"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### 查看文档
    
    打开 <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc,查看</a>自定义 Logo(本例中是 **FastAPI** 的 Logo):
    
    <img src="/img/tutorial/extending-openapi/image01.png">
    
    ## 文档 JavaScript 与 CSS 自托管
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. docs/bn/docs/index.md

    </details>
    
    ### এটা চেক করুন
    
    আপনার ব্রাউজার খুলুন <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a> এ।
    
    আপনি JSON রেসপন্স দেখতে পাবেন:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    আপনি ইতিমধ্যে একটি API তৈরি করেছেন যা:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/debugging.md

    Тогда выполнится условие и эта часть кода:
    
    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    будет запущена.
    
    ---
    
    Но этого не произойдет, если вы импортируете этот модуль (файл).
    
    Таким образом, если у вас есть файл `importer.py` с таким импортом:
    
    ```Python
    from myapp import app
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/extending-openapi.md

    ```Python hl_lines="29"
    {!../../../docs_src/extending_openapi/tutorial001.py!}
    ```
    
    ### Testen
    
    Sobald Sie auf <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> gehen, werden Sie sehen, dass Ihr benutzerdefiniertes Logo verwendet wird (in diesem Beispiel das Logo von **FastAPI**):
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. scripts/playwright/separate_openapi_schemas/image02.py

    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("button", name="Try it out").click()
        page.get_by_role("button", name="Execute").click()
        page.screenshot(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 873 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/first-steps.md

    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ## Check it
    
    Go to the interactive docs at: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    You will see something like this:
    
    <img src="/img/tutorial/security/image01.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/async-sql-encode-databases.md

    ```Python
    {
        "id": 1,
        "text": "Some note",
        "completed": False,
    }
    ```
    
    ## Check it
    
    You can copy this code as is, and see the docs at <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    There you can see all your API documented and interact with it:
    
    <img src="/img/tutorial/async-sql-databases/image01.png">
    
    ## More info
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/conditional-openapi.md

    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Then if you go to the URLs at `/openapi.json`, `/docs`, or `/redoc` you will just get a `404 Not Found` error like:
    
    ```JSON
    {
        "detail": "Not Found"
    }
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top