diff --git a/ita/internal/utils.go b/ita/internal/utils.go index b18c5088..8d475ab4 100644 --- a/ita/internal/utils.go +++ b/ita/internal/utils.go @@ -159,7 +159,7 @@ func getRetCcu() (int, error) { } func ret_rewrite_assets(oldDomain, newDomain string) error { - retCcuReq, _ := http.NewRequest("GET", "https://ret."+cfg.PodNS+":4000/api-internal/v1/rewrite_assets", + retCcuReq, _ := http.NewRequest("POST", "https://ret."+cfg.PodNS+":4000/api-internal/v1/rewrite_assets", bytes.NewBuffer([]byte( `{"old_domain":"`+oldDomain+`","new_domain":"`+newDomain+`"}`))) retCcuReq.Header.Add("x-ret-dashboard-access-key", cfg.RetApiKey)