Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 849 for Tutorial (0.09 seconds)

  1. docs/en/docs/features.md

    All the security schemes defined in OpenAPI, including:
    
    * HTTP Basic.
    * **OAuth2** (also with **JWT tokens**). Check the tutorial on [OAuth2 with JWT](tutorial/security/oauth2-jwt.md).
    * API keys in:
        * Headers.
        * Query parameters.
        * Cookies, etc.
    
    Plus all the security features from Starlette (including **session cookies**).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/middleware.md

    # 進階中介軟體 { #advanced-middleware }
    
    在主要教學中你已學過如何將[自訂中介軟體](../tutorial/middleware.md)加入到你的應用程式。
    
    你也讀過如何處理 [使用 `CORSMiddleware` 的 CORS](../tutorial/cors.md)。
    
    本節將示範如何使用其他中介軟體。
    
    ## 新增 ASGI 中介軟體 { #adding-asgi-middlewares }
    
    由於 **FastAPI** 建立在 Starlette 上並實作了 <abbr title="Asynchronous Server Gateway Interface - 非同步伺服器閘道介面">ASGI</abbr> 規範,你可以使用任何 ASGI 中介軟體。
    
    中介軟體不一定要為 FastAPI 或 Starlette 專門撰寫,只要遵循 ASGI 規範即可運作。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  3. docs/ko/docs/advanced/sub-applications.md

    메인 앱의 자동 API 문서를 보게 될 것이며, 메인 앱 자체의 _경로 처리_만 포함됩니다:
    
    <img src="/img/tutorial/sub-applications/image01.png">
    
    그 다음, [http://127.0.0.1:8000/subapi/docs](http://127.0.0.1:8000/subapi/docs)에서 하위 애플리케이션의 문서를 여세요.
    
    하위 애플리케이션의 자동 API 문서를 보게 될 것이며, 하위 경로 접두사 `/subapi` 아래에 올바르게 포함된 하위 애플리케이션 자체의 _경로 처리_만 포함됩니다:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/metadata.md

    /// tip
    
    You can write Markdown in the `description` field and it will be rendered in the output.
    
    ///
    
    With this configuration, the automatic API docs would look like:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## License identifier { #license-identifier }
    
    Since OpenAPI 3.1.0 and FastAPI 0.99.0, you can also set the `license_info` with an `identifier` instead of a `url`.
    
    For example:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/sub-applications.md

    <img src="/img/tutorial/sub-applications/image01.png">
    
    And then, open the docs for the sub-application, at [http://127.0.0.1:8000/subapi/docs](http://127.0.0.1:8000/subapi/docs).
    
    You will see the automatic API docs for the sub-application, including only its own _path operations_, all under the correct sub-path prefix `/subapi`:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/response-change-status-code.md

    # Response - Change Status Code { #response-change-status-code }
    
    You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md).
    
    But in some cases you need to return a different status code than the default.
    
    ## Use case { #use-case }
    
    For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/security/first-steps.md

    다음과 비슷한 화면이 보일 것입니다:
    
    <img src="/img/tutorial/security/image01.png">
    
    /// check | Authorize 버튼!
    
    반짝이는 새 "Authorize" 버튼이 이미 있습니다.
    
    그리고 *경로 처리*에는 오른쪽 상단에 클릭할 수 있는 작은 자물쇠가 있습니다.
    
    ///
    
    그리고 이를 클릭하면 `username`과 `password`(그리고 다른 선택적 필드들)를 입력할 수 있는 작은 인증 폼이 나타납니다:
    
    <img src="/img/tutorial/security/image02.png">
    
    /// note | 참고
    
    폼에 무엇을 입력하든 아직은 동작하지 않습니다. 하지만 곧 여기까지 구현할 것입니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    啟動伺服器並前往文件頁:[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    你會看到這樣的介面:
    
    <img src="/img/tutorial/security/image07.png">
    
    用和先前相同的方式授權應用。
    
    使用下列認證資訊:
    
    Username: `johndoe`
    Password: `secret`
    
    /// check | 檢查
    
    注意在程式碼中完全沒有明文密碼「`secret`」,我們只有雜湊後的版本。
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    呼叫端點 `/users/me/`,你會得到類似這樣的回應:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/oauth2-jwt.md

    运行服务器并打开文档:[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs)。
    
    你会看到这样的用户界面:
    
    <img src="/img/tutorial/security/image07.png">
    
    像之前一样进行授权。
    
    使用以下凭证:
    
    用户名: `johndoe`
    密码: `secret`
    
    /// check | 检查
    
    注意,代码中的任何地方都没有明文密码 “`secret`”,我们只有它的哈希版本。
    
    ///
    
    <img src="/img/tutorial/security/image08.png">
    
    调用 `/users/me/` 端点,你将得到如下响应:
    
    ```JSON
    {
      "username": "johndoe",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. SECURITY.md

    Security is very important for FastAPI and its community. 🔒
    
    Learn more about it below. 👇
    
    ## Versions
    
    The latest version of FastAPI is supported.
    
    You are encouraged to [write tests](https://fastapi.tiangolo.com/tutorial/testing/) for your application and update your FastAPI version frequently after ensuring that your tests are passing. This way you will benefit from the latest features, bug fixes, and **security fixes**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top