Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihonarium committed Feb 6, 2019
1 parent 1b038f1 commit c042bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -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)
Expand Down

0 comments on commit c042bbf

Please sign in to comment.