Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for example (0.17 sec)

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

        Because we are using a relative URL, if your API was located at `https://example.com/`, then it would refer to `https://example.com/token`. But if your API was located at `https://example.com/api/v1/`, then it would refer to `https://example.com/api/v1/token`.
    
    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)
  2. docs/em/docs/tutorial/security/first-steps.md

    ```
    
    !!! tip
        📥 `tokenUrl="token"` 🔗 ⚖ 📛 `token` 👈 👥 🚫 ✍. ⚫️ ⚖ 📛, ⚫️ 🌓 `./token`.
    
        ↩️ 👥 ⚙️ ⚖ 📛, 🚥 👆 🛠️ 🔎 `https://example.com/`, ⤴️ ⚫️ 🔜 🔗 `https://example.com/token`. ✋️ 🚥 👆 🛠️ 🔎 `https://example.com/api/v1/`, ⤴️ ⚫️ 🔜 🔗 `https://example.com/api/v1/token`.
    
        ⚙️ ⚖ 📛 ⚠ ⚒ 💭 👆 🈸 🚧 👷 🏧 ⚙️ 💼 💖 [⛅ 🗳](../../advanced/behind-a-proxy.md){.internal-link target=_blank}.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/security/first-steps.md

    ```
    
    !!! tip "提示"
    
        在此,`tokenUrl="token"` 指向的是暂未创建的相对 URL `token`。这个相对 URL 相当于 `./token`。
    
        因为使用的是相对 URL,如果 API 位于 `https://example.com/`,则指向 `https://example.com/token`。但如果 API 位于 `https://example.com/api/v1/`,它指向的就是`https://example.com/api/v1/token`。
    
        使用相对 URL 非常重要,可以确保应用在遇到[使用代理](../../advanced/behind-a-proxy.md){.internal-link target=_blank}这样的高级用例时,也能正常运行。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/security/first-steps.md

    	Porque estamos usando uma URL relativa, se sua API estava localizada em `https://example.com/`, então irá referir-se à `https://example.com/token`. Mas se sua API estava localizada em `https://example.com/api/v1/`, então irá referir-se à `https://example.com/api/v1/token`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. 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"
        Uma "rota" também é comumente chamada de "endpoint".
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### 步骤 3:创建一个*路径操作*
    
    #### 路径
    
    这里的「路径」指的是 URL 中从第一个 `/` 起的后半部分。
    
    所以,在一个这样的 URL 中:
    
    ```
    https://example.com/items/foo
    ```
    
    ...路径会是:
    
    ```
    /items/foo
    ```
    
    !!! info
        「路径」也通常被称为「端点」或「路由」。
    
    开发 API 时,「路径」是用来分离「关注点」和「资源」的主要手段。
    
    #### 操作
    
    这里的「操作」指的是一种 HTTP「方法」。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 9.2K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/first-steps.md

    ```
    
    </div>
    
    ### 🔁 3️⃣: ✍ *➡ 🛠️*
    
    #### ➡
    
    "➡" 📥 🔗 🏁 🍕 📛 ▶️ ⚪️➡️ 🥇 `/`.
    
    , 📛 💖:
    
    ```
    https://example.com/items/foo
    ```
    
    ...➡ 🔜:
    
    ```
    /items/foo
    ```
    
    !!! info
         "➡" 🛎 🤙 "🔗" ⚖️ "🛣".
    
    ⏪ 🏗 🛠️, "➡" 👑 🌌 🎏 "⚠" &amp; "ℹ".
    
    #### 🛠️
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
Back to top