QueryParams attribute with map[string]string type doesn't support query array params #394
Labels
status: help wanted
requesting help from the community
type: community enhancement
feature request not on Twilio's roadmap
Hello everyone.
I'm trying to get the category stats. https://sendgrid.com/docs/API_Reference/Web_API_v3/Stats/categories.html
this service supports query array params
...&categories=cat1&categories=cat2
and i see that the Request struct:
of course you can't have two equal keys.
I've temporarily solved it by creating some functions to use directly
params := url.Values{}
perhaps it is an improvement that the query params can be rather.
Technical details:
The text was updated successfully, but these errors were encountered: