Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 457 for Img (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    - 它會回傳一個 `HTTPBasicCredentials` 型別的物件:
        - 其中包含傳來的 `username` 與 `password`。
    
    {* ../../docs_src/security/tutorial006_an_py310.py hl[4,8,12] *}
    
    當你第一次嘗試開啟該 URL(或在文件中點擊 "Execute" 按鈕)時,瀏覽器會要求輸入你的使用者名稱與密碼:
    
    <img src="/img/tutorial/security/image12.png">
    
    ## 檢查使用者名稱 { #check-the-username }
    
    以下是一個更完整的範例。
    
    使用一個依賴來檢查使用者名稱與密碼是否正確。
    
    為此,使用 Python 標準模組 [`secrets`](https://docs.python.org/3/library/secrets.html) 來比對使用者名稱與密碼。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  2. docs/ja/docs/advanced/behind-a-proxy.md

    [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) を確認してください:
    
    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    しかし、プロキシ(ポート `9999`)を使った「公式」URL `/api/v1/docs` でドキュメント UI にアクセスすると、正しく動作します!🎉
    
    [http://127.0.0.1:9999/api/v1/docs](http://127.0.0.1:9999/api/v1/docs) を確認してください:
    
    <img src="/img/tutorial/behind-a-proxy/image02.png">
    
    ねらいどおりです。✔️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  3. docs/en/docs/js/init_kapa_widget.js

      script.setAttribute("data-project-name", "FastAPI");
      script.setAttribute("data-project-color", "#009485");
      script.setAttribute("data-project-logo", "https://fastapi.tiangolo.com/img/favicon.png");
      script.setAttribute("data-bot-protection-mechanism", "hcaptcha");
      script.setAttribute("data-button-height", "3rem");
      script.setAttribute("data-button-width", "3rem");
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 18 15:26:13 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/sql-databases.md

    </div>
    
    Then go to the `/docs` UI, you will see that **FastAPI** is using these **models** to **document** the API, and it will use them to **serialize** and **validate** the data too.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## Update the App with Multiple Models { #update-the-app-with-multiple-models }
    
    Now let's **refactor** this app a bit to increase **security** and **versatility**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    The interactive API docs will update accordingly, to allow multiple values:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Query parameter list / multiple values with defaults { #query-parameter-list-multiple-values-with-defaults }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}
    
    由於現在宣告了這些 scopes,當你登入/授權時,它們會出現在 API 文件中。
    
    你可以選擇要授予哪些 scopes 存取權:`me` 與 `items`。
    
    這與你使用 Facebook、Google、GitHub 等登入時所授與權限的機制相同:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## 內含 scopes 的 JWT token { #jwt-token-with-scopes }
    
    現在,修改 token 的路徑操作以回傳所請求的 scopes。
    
    我們仍然使用相同的 `OAuth2PasswordRequestForm`。它包含屬性 `scopes`,其為 `list` 的 `str`,列出請求中收到的每個 scope。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/body-nested-models.md

    ```
    
    이를 아래처럼:
    
    {* ../../docs_src/body_nested_models/tutorial008_py310.py hl[13] *}
    
    ## 어디서나 편집기 지원 { #editor-support-everywhere }
    
    그리고 어디서나 편집기 지원을 받을 수 있습니다.
    
    리스트 내부 항목의 경우에도:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Pydantic 모델 대신 `dict`로 직접 작업한다면 이런 종류의 편집기 지원을 받을 수 없습니다.
    
    하지만 그 부분에 대해서도 걱정할 필요는 없습니다. 들어오는 dict는 자동으로 변환되고, 출력도 자동으로 JSON으로 변환됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[63:66] *}
    
    因为我们现在声明了这些作用域,所以当你登录/授权时,它们会显示在 API 文档里。
    
    你可以选择要授予访问权限的作用域:`me` 和 `items`。
    
    这与使用 Facebook、Google、GitHub 等登录时授予权限的机制相同:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## 带作用域的 JWT 令牌 { #jwt-token-with-scopes }
    
    现在,修改令牌的*路径操作*以返回请求的作用域。
    
    我们仍然使用 `OAuth2PasswordRequestForm`。它包含 `scopes` 属性,其值是 `list[str]`,包含请求中接收到的每个作用域。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/additional-responses.md

    {* ../../docs_src/additional_responses/tutorial003_py310.py hl[20:31] *}
    
    It will all be combined and included in your OpenAPI, and shown in the API docs:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## Combine predefined responses and custom ones { #combine-predefined-responses-and-custom-ones }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial008_py310.py hl[13] *}
    
    ## Editor support everywhere { #editor-support-everywhere }
    
    And you get editor support everywhere.
    
    Even for items inside of lists:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
Back to Top