Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 782 for url (0.01 seconds)

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

    这通常被称为**网络钩子**(Webhook)。
    
    ## 使用网络钩子的步骤
    
    通常的过程是**您**在代码中**定义**要发送的消息,即**请求的主体**。
    
    您还需要以某种方式定义您的应用程序将在**何时**发送这些请求或事件。
    
    **用户**会以某种方式(例如在某个网页仪表板上)定义您的应用程序发送这些请求应该使用的 **URL**。
    
    所有关于注册网络钩子的 URL 的**逻辑**以及发送这些请求的实际代码都由您决定。您可以在**自己的代码**中以任何想要的方式来编写它。
    
    ## 使用 `FastAPI` 和 OpenAPI 文档化网络钩子
    
    使用 **FastAPI**,您可以利用 OpenAPI 来自定义这些网络钩子的名称、您的应用可以发送的 HTTP 操作类型(例如 `POST`、`PUT` 等)以及您的应用将发送的**请求体**。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 19 15:30:38 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type T struct
    pkg p1, type TPtrExported struct
    pkg p1, type TPtrExported struct, embedded *Embedded
    pkg p1, type TPtrUnexported struct
    pkg p1, type Time struct
    pkg p1, type URL //deprecated
    pkg p1, type URL struct
    pkg p1, var Byte uint8
    pkg p1, var ByteConv []uint8
    pkg p1, var ByteFunc func(uint8) int32
    pkg p1, var ChecksumError error
    pkg p1, var SIPtr *SI
    pkg p1, var SIPtr2 *SI
    pkg p1, var SIVal SI
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 24 16:04:17 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. cmd/api-response.go

    }
    
    // getObjectLocation gets the fully qualified URL of an object.
    func getObjectLocation(r *http.Request, domains []string, bucket, object string) string {
    	// unit tests do not have host set.
    	if r.Host == "" {
    		return path.Clean(r.URL.Path)
    	}
    	proto := handlers.GetSourceScheme(r)
    	if proto == "" {
    		proto = getURLScheme(globalIsTLS)
    	}
    	u := &url.URL{
    		Host:   r.Host,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java

    /**
     */
    @Deprecated
    class DefaultUrlNormalizerTest {
    
        private UrlNormalizer normalizer = new DefaultUrlNormalizer();
    
        private String normalize(String url) {
            return normalizer.normalize(url);
        }
    
        @Test
        void testNullSafe() {
            assertNull(normalize(null));
        }
    
        @Test
        void testTrailingSlash() {
            assertEquals("", normalize(""));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. cmd/build-constants.go

    	// MinioOSARCH - OS and ARCH.
    	minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
    
    	// MinioReleaseBaseURL - release url without os and arch.
    	MinioReleaseBaseURL = "https://dl.min.io/server/minio/release/"
    
    	// MinioReleaseURL - release URL.
    	MinioReleaseURL = MinioReleaseBaseURL + minioOSARCH + SlashSeparator
    
    	// MinioStoreName - MinIO store name.
    	MinioStoreName = "MinIO"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  6. tests/test_webhooks_security.py

    def new_subscription(
        body: Subscription, token: Annotated[str, Security(bearer_scheme)]
    ):
        """
        When a new user subscribes to your service we'll send you a POST request with this
        data to the URL that you register for the event `new-subscription` in the dashboard.
        """
    
    
    client = TestClient(app)
    
    
    def test_dummy_webhook():
        # Just for coverage
        new_subscription(body={}, token="Bearer 123")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. cmd/update.go

    			len(cpuMap), len(coreMap), cpu.VendorID, cpu.Family, cpu.Model, cpu.Stepping, cpu.ModelName))
    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    func downloadReleaseURL(u *url.URL, timeout time.Duration, mode string) (content string, err error) {
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    		return content, AdminError{
    			Code:       AdminUpdateUnexpectedFailure,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/resources/inheritance-repo/t05/p0/p1/pom.xml

      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-t05</groupId>
      <artifactId>p1</artifactId>
      <packaging>pom</packaging>
      <name>p1</name>
      <version>1.0</version>
      <scm>
        <url>scm-url</url>
      </scm>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t05-b</artifactId>
            <version>1.0</version>
          </dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/resources/inheritance-repo/t07/p0/p1/pom.xml

      </parent>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-t07</groupId>
      <artifactId>p1</artifactId>
      <packaging>pom</packaging>
      <name>p1</name>
      <version>1.0</version>
      <scm>
        <url>scm-url</url>
      </scm>
      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>maven-test</groupId>
            <artifactId>t07-b</artifactId>
            <version>1.0</version>
          </dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/pom.xml

        A test plugin to assist testing of Maven core.
      </description>
      <inceptionYear>2009</inceptionYear>
    
      <distributionManagement>
        <repository>
          <id>maven-core-it</id>
          <url>file:///${basedir}/repo</url>
        </repository>
      </distributionManagement>
    
      <properties>
        <maven.test.skip>true</maven.test.skip>
        <updateReleaseInfo>true</updateReleaseInfo>
      </properties>
    
      <dependencies>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
Back to Top