diff --git a/main.go b/main.go index c067f22..f3a328f 100644 --- a/main.go +++ b/main.go @@ -216,6 +216,10 @@ func main() { bodyBytes = []byte(*body) } + if !strings.Contains(strings.ToLower(*url), "://") { + *url = "https://" + *url + } + clientOpt := ClientOpt{ url: *url, method: *method,