Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for MethodPost (0.06 sec)

  1. cmd/admin-router.go

    			// Heal operations
    
    			// Heal processing endpoint.
    			adminRouter.Methods(http.MethodPost).Path(adminVersion + "/heal/").HandlerFunc(adminMiddleware(adminAPI.HealHandler, traceAllFlag))
    			adminRouter.Methods(http.MethodPost).Path(adminVersion + "/heal/{bucket}").HandlerFunc(adminMiddleware(adminAPI.HealHandler, traceAllFlag))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  2. cmd/kms-handlers_test.go

    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    			query:  map[string]string{"key-id": "new-test-key"},
    			asRoot: false,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    		{
    			name:   "create key as user with no resources specified want success",
    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  3. cmd/api-router.go

    			Queries("uploadId", "{uploadId:.*}")
    		// CompleteMultipartUpload
    		router.Methods(http.MethodPost).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.CompleteMultipartUploadHandler)).
    			Queries("uploadId", "{uploadId:.*}")
    		// NewMultipartUpload
    		router.Methods(http.MethodPost).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.NewMultipartUploadHandler)).
    			Queries("uploads", "")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodVerifyFile).HandlerFunc(h(server.VerifyFileHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodStatInfoFile).HandlerFunc(h(server.StatInfoFile))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    	// AssumeRoleWithClientGrants
    	stsRouter.Methods(http.MethodPost).HandlerFunc(httpTraceAll(sts.AssumeRoleWithClientGrants)).
    		Queries(stsAction, clientGrants).
    		Queries(stsVersion, stsAPIVersion).
    		Queries(stsToken, "{Token:.*}")
    
    	// AssumeRoleWithWebIdentity
    	stsRouter.Methods(http.MethodPost).HandlerFunc(httpTraceAll(sts.AssumeRoleWithWebIdentity)).
    		Queries(stsAction, webIdentity).
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. cmd/bucket-handlers_test.go

    		if testCase.accessKey != "" {
    			req, err = newTestSignedRequestV4(http.MethodPost, getDeleteMultipleObjectsURL("", testCase.bucket),
    				int64(len(testCase.objects)), bytes.NewReader(testCase.objects), testCase.accessKey, testCase.secretKey, nil)
    		} else {
    			req, err = newTestRequest(http.MethodPost, getDeleteMultipleObjectsURL("", testCase.bucket),
    				int64(len(testCase.objects)), bytes.NewReader(testCase.objects))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  7. api/go1.6.txt

    pkg net/http, const MethodOptions = "OPTIONS"
    pkg net/http, const MethodOptions ideal-string
    pkg net/http, const MethodPatch = "PATCH"
    pkg net/http, const MethodPatch ideal-string
    pkg net/http, const MethodPost = "POST"
    pkg net/http, const MethodPost ideal-string
    pkg net/http, const MethodPut = "PUT"
    pkg net/http, const MethodPut ideal-string
    pkg net/http, const MethodTrace = "TRACE"
    pkg net/http, const MethodTrace ideal-string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers_test.go

    	queryVal.Set("action", string(cmd.toServiceAction()))
    	queryVal.Set("type", "2")
    	resource := adminPathPrefix + adminAPIVersionPrefix + "/service?" + queryVal.Encode()
    	req, err := newTestRequest(http.MethodPost, resource, 0, nil)
    	if err != nil {
    		return nil, err
    	}
    
    	// management REST API uses signature V4 for authentication.
    	err = signRequestV4(req, cred.AccessKey, cred.SecretKey)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	// Close before creating the new request.
    	w.Close()
    
    	// Set the body equal to the created policy.
    	reader := bytes.NewReader(buf.Bytes())
    
    	req, err := http.NewRequest(http.MethodPost, makeTestTargetURL(endPoint, bucketName, "", nil), reader)
    	if err != nil {
    		return nil, err
    	}
    
    	// Set form content-type.
    	req.Header.Set("Content-Type", w.FormDataContentType())
    	return req, nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    func checkPreconditionsPUT(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo, opts ObjectOptions) bool {
    	// Return false for methods other than PUT.
    	if r.Method != http.MethodPut && r.Method != http.MethodPost {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top