How to implement a modified "explode" option for .multi
in req_url_query()
?
#593
Labels
Milestone
.multi
in req_url_query()
?
#593
I'm working with the usa-npn API which takes multiple values for a query like so:
x[1]=1&x[2]=2&x[3]=3
. The.multi
argument doesn't seem to be able to handle this and I have to construct the list of queries outside ofreq_url_query()
. It seems like there isn't a way for a function supplied to.multi
to use the parameter name. E.g., this doesn't work:Created on 2024-12-09 with reprex v2.1.1
Is there a workaround for this? I looked at the code to figure out what
"explode"
does, and it seems like it behaves differently from an anonymous function—I couldn't figure it out.The text was updated successfully, but these errors were encountered: