Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,276 for TITLE (0.03 sec)

  1. docs/zh/docs/tutorial/query-params.md

    ```
    
    ……查询参数为:
    
    * `skip`:值为 `0`
    * `limit`:值为 `10`
    
    这些值都是 URL 的组成部分,因此,它们的类型**本应**是字符串。
    
    但声明 Python 类型(上例中为 `int`)之后,这些值就会转换为声明的类型,并进行类型校验。
    
    所有应用于路径参数的流程也适用于查询参数:
    
    * (显而易见的)编辑器支持
    * 数据<abbr title="将来自 HTTP 请求的字符串转换为 Python 数据类型">**解析**</abbr>
    * 数据校验
    * API 文档
    
    ## 默认值
    
    查询参数不是路径的固定内容,它是可选的,还支持默认值。
    
    上例用 `skip=0` 和 `limit=10` 设定默认值。
    
    访问 URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/resources/fess_indices/_cloud/fess/doc.json

    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Aug 15 11:50:35 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    Le schéma devrait ressembler à ceci :
    
    
    ```JSON
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/first-steps.md

    Ele mostrará um JSON começando com algo como:
    
    ```JSON
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/handling-errors.md

    Você pode utilizá-lo enquanto desenvolve seu app para conectar o *body* e debugá-lo, e assim retorná-lo ao usuário, etc.
    
    Tente enviar um item inválido como este:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    Você receberá uma *response* informando-o de que a data é inválida, e contendo o *body* recebido:
    
    ```JSON hl_lines="12-15"
    {
      "detail": [
        {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. docs/en/docs/css/custom.css

      overflow: hidden;
      border-radius: 50%;
      position: relative;
    }
    
    .user .avatar-wrapper img {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    
    .user .title {
      text-align: center;
    }
    
    .user .count {
      font-size: 80%;
      text-align: center;
    }
    
    a.announce-link:link,
    a.announce-link:visited {
      color: #fff;
    }
    
    a.announce-link:hover {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 17 02:12:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/first-steps.md

    Ви побачите приблизно такий JSON:
    
    ```JSON
    {
        "openapi": "3.1.0",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. docs/fa/docs/tutorial/middleware.md

    شما می‌توانید بعداً در مورد میان‌افزارهای دیگر در [راهنمای کاربر پیشرفته: میان‌افزار پیشرفته](../advanced/middleware.md){.internal-link target=_blank} بیشتر بخوانید.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/response-status-code.md

    /// tip
    
    💭 🌅 🔃 🔠 👔 📟 &amp; ❔ 📟 ⚫️❔, ✅ <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">🏇</abbr> 🧾 🔃 🇺🇸🔍 👔 📟</a>.
    
    ///
    
    ## ⌨ 💭 📛
    
    ➡️ 👀 ⏮️ 🖼 🔄:
    
    ```Python hl_lines="6"
    {!../../docs_src/response_status_code/tutorial001.py!}
    ```
    
    `201` 👔 📟 "✍".
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/handling-errors.md

    现在试着发送一个无效的 `item`,例如:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    
    ```
    
    收到的响应包含 `body` 信息,并说明数据是无效的:
    
    ```JSON hl_lines="12-15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
          ],
          "msg": "value is not a valid integer",
          "type": "type_error.integer"
        }
      ],
      "body": {
        "title": "towel",
        "size": "XL"
      }
    }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top