diff --git a/api.go b/api.go index 55a9dc2..bf7c69b 100644 --- a/api.go +++ b/api.go @@ -5,6 +5,7 @@ import ( "fmt" "io" "net/http" + "net/url" "reflect" "strings" "time" @@ -125,5 +126,5 @@ func UrlEncode(s any) string { } } - return rv + return url.QueryEscape(rv) }