Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for url (0.44 sec)

  1. docs/en/docs/tutorial/security/first-steps.md

        ```Python hl_lines="6"
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip
        Here `tokenUrl="token"` refers to a relative URL `token` that we haven't created yet. As it's a relative URL, it's equivalent to `./token`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/security/first-steps.md

    `OAuth2PasswordBearer` クラスのインスタンスを作成する時に、パラメーター`tokenUrl`を渡します。このパラメーターには、クライアント (ユーザーのブラウザで動作するフロントエンド) がトークンを取得するために`ユーザー名`と`パスワード`を送信するURLを指定します。
    
    ```Python hl_lines="6"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    !!! tip "豆知識"
        ここで、`tokenUrl="token"`は、まだ作成していない相対URL`token`を指します。相対URLなので、`./token`と同じです。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip "Tipp"
        Hier bezieht sich `tokenUrl="token"` auf eine relative URL `token`, die wir noch nicht erstellt haben. Da es sich um eine relative URL handelt, entspricht sie `./token`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:07:08 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ### 步骤 3:创建一个*路径操作*
    
    #### 路径
    
    这里的「路径」指的是 URL 中从第一个 `/` 起的后半部分。
    
    所以,在一个这样的 URL 中:
    
    ```
    https://example.com/items/foo
    ```
    
    ...路径会是:
    
    ```
    /items/foo
    ```
    
    !!! info
        「路径」也通常被称为「端点」或「路由」。
    
    开发 API 时,「路径」是用来分离「关注点」和「资源」的主要手段。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  5. docs/pl/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### Krok 3: wykonaj *operację na ścieżce*
    
    #### Ścieżka
    
    "Ścieżka" tutaj odnosi się do ostatniej części adresu URL, zaczynając od pierwszego `/`.
    
    Więc, w adresie URL takim jak:
    
    ```
    https://example.com/items/foo
    ```
    
    ...ścieżką będzie:
    
    ```
    /items/foo
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/vi/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### Bước 3: tạo một *đường dẫn toán tử*
    
    #### Đường dẫn
    
    "Đường dẫn" ở đây được nhắc tới là phần cuối cùng của URL bắt đầu từ `/`.
    
    Do đó, trong một URL nhìn giống như:
    
    ```
    https://example.com/items/foo
    ```
    
    ...đường dẫn sẽ là:
    
    ```
    /items/foo
    ```
    
    !!! info
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/first-steps.md

    ```Python hl_lines="6"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    !!! tip "Dica"
    	Esse `tokenUrl="token"` se refere a uma URL relativa que nós não criamos ainda. Como é uma URL relativa, é equivalente a `./token`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/security/first-steps.md

        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    !!! tip "Подсказка"
        Здесь `tokenUrl="token"` ссылается на относительный URL `token`, который мы еще не создали. Поскольку это относительный URL, он эквивалентен `./token`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/security/first-steps.md

        本例中,**FastAPI** 还提供了构建工具。
    
    创建 `OAuth2PasswordBearer` 的类实例时,要传递 `tokenUrl` 参数。该参数包含客户端(用户浏览器中运行的前端) 的 URL,用于发送 `username` 与 `password`,并获取令牌。
    
    ```Python hl_lines="6"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    !!! tip "提示"
    
        在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### Passo 3: crie uma *rota*
    
    #### Rota
    
    "Rota" aqui se refere à última parte da URL, começando do primeiro `/`.
    
    Então, em uma URL como:
    
    ```
    https://example.com/items/foo
    ```
    
    ...a rota seria:
    
    ```
    /items/foo
    ```
    
    !!! info "Informação"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top