From c042bbf41f562b83cc6a21e01cf25a5b07185491 Mon Sep 17 00:00:00 2001 From: Mikhail Samin Date: Thu, 7 Feb 2019 01:50:53 +0300 Subject: [PATCH] Update main.go --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e272105..e38c322 100644 --- a/main.go +++ b/main.go @@ -100,7 +100,7 @@ func AudDAPIUpload(params map[string]string, reader io.Reader, apiToken string) _ = writer.WriteField(key, val) } writer.Close() - req, _ := http.NewRequest("POST", "https://api.audd.io/v2/", body) + req, _ := http.NewRequest("POST", "https://api.audd.io/", body) req.Header.Set("Content-Type", writer.FormDataContentType()) client := &http.Client{} resp, err := client.Do(req)