diff --git a/pkg/request_builder.go b/pkg/request_builder.go index 4f26833..b09fe03 100644 --- a/pkg/request_builder.go +++ b/pkg/request_builder.go @@ -122,8 +122,14 @@ func (b *QueryRequestBuilder) ExecuteWithContext(ctx context.Context, r interfac if err != nil { return err } + query, err := url.QueryUnescape(b.params.Encode()) + + if err != nil { + return err + } + + req.URL.RawQuery = query - req.URL.RawQuery = b.params.Encode() req.Header = b.client.Headers() // inject/override custom headers