Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 876 for curl (0.08 seconds)

  1. docs/zh/docs/advanced/openapi-callbacks.md

    添加回调前,首先看下常规 API 应用是什么样子。
    
    常规 API 应用包含接收 `Invoice` 请求体的*路径操作*,还有包含回调 URL 的查询参数 `callback_url`。
    
    这部分代码很常规,您对绝大多数代码应该都比较熟悉了:
    
    {* ../../docs_src/openapi_callbacks/tutorial001.py hl[10:14,37:54] *}
    
    /// tip | 提示
    
    `callback_url` 查询参数使用 Pydantic 的 <a href="https://pydantic-docs.helpmanual.io/usage/types/#urls" class="external-link" target="_blank">URL</a> 类型。
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/openapi-callbacks.md

    }
    ```
    
    y esperaría un response de esa *API externa* con un JSON body como:
    
    ```JSON
    {
        "ok": true
    }
    ```
    
    /// tip | Consejo
    
    Observa cómo la URL del callback utilizada contiene la URL recibida como parámetro de query en `callback_url` (`https://www.external.org/events`) y también el `id` de la factura desde dentro del JSON body (`2expen51ve`).
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-a-1.0.pom

      <artifactId>t08-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t08-b</artifactId>
          <version>1.0</version>
          <type>jar</type>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 572 bytes
    - Click Count (0)
  4. docs/de/docs/advanced/websockets.md

    Wenn Ihre Datei `main.py` heißt, führen Sie Ihre Anwendung so aus:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Sie sehen eine einfache Seite wie:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. api/go1.6.txt

    pkg net/http/httputil, type BufferPool interface, Put([]uint8)
    pkg net/http/httputil, type ReverseProxy struct, BufferPool BufferPool
    pkg net/url, method (*Error) Temporary() bool
    pkg net/url, method (*Error) Timeout() bool
    pkg net/url, method (InvalidHostError) Error() string
    pkg net/url, type InvalidHostError string
    pkg os/exec, type ExitError struct, Stderr []uint8
    pkg regexp, method (*Regexp) Copy() *Regexp
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Click Count (0)
  6. buildscripts/multipart-quorum-test.sh

    	export AWS_ACCESS_KEY_ID=minio
    	export AWS_SECRET_ACCESS_KEY=minio123
    	aws --endpoint-url http://localhost:"$start_port" s3api create-multipart-upload --bucket bucket --key obj-1 >upload-id.json
    	uploadId=$(jq -r '.UploadId' upload-id.json)
    
    	truncate -s 5MiB file-5mib
    	for i in {1..2}; do
    		aws --endpoint-url http://localhost:"$start_port" s3api upload-part \
    			--upload-id "$uploadId" --bucket bucket --key obj-1 \
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 10:51:23 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_metadata/test_tutorial001_1.py

                "termsOfService": "http://example.com/terms/",
                "contact": {
                    "name": "Deadpoolio the Amazing",
                    "url": "http://x-force.example.com/contact/",
                    "email": "******@****.***",
                },
                "license": {
                    "name": "Apache 2.0",
                    "identifier": "MIT",
                },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_sub_applications/test_tutorial001.py

                        }
                    },
                    "summary": "Read Sub",
                    "operationId": "read_sub_sub_get",
                }
            }
        },
        "servers": [{"url": "/subapi"}],
    }
    
    
    def test_openapi_schema_main():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == openapi_schema_main
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/body-nested-models.md

    For example, as in the `Image` model we have a `url` field, we can declare it to be an instance of Pydantic's `HttpUrl` instead of a `str`:
    
    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    The string will be checked to be a valid URL, and documented in JSON Schema / OpenAPI as such.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/body-nested-models.md

    Например, так как в модели `Image` у нас есть поле `url`, то мы можем объявить его как тип `HttpUrl` из Pydantic вместо типа `str`:
    
    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    Строка будет проверена на соответствие допустимому URL-адресу и задокументирована в JSON Schema / OpenAPI как таковая.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top