Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When repeating parameter is required, URI string manipulation is the only way to add it #182

Open
kobi666 opened this issue Jun 30, 2021 · 1 comment

Comments

@kobi666
Copy link

kobi666 commented Jun 30, 2021

not sure if issue or feature request..

example from google maps (markers parameter)

http://maps.googleapis.com/maps/api/staticmap?&size=600x400&style=visibility:on
&style=feature:water%7Celement:geometry%7Cvisibility:on
&style=feature:landscape%7Celement:geometry%7Cvisibility:on
&markers=anchor:32,10%7Cicon:https://goo.gl/5y3S82%7CCanberra+ACT
&markers=anchor:topleft%7Cicon:http://tinyurl.com/jrhlvu6%7CMelbourne+VIC
&markers=anchor:topright%7Cicon:https://goo.gl/1oTJ9Y%7CSydney+NSW&key=YOUR_API_KEY

since the Params in the request helper accepts a dictionary,
there is no way to add a parameter that repeats.
I would suggest a patch to introduce an AdditionalParams# or RepeatingParams# property to the requestHelper,
tho i'm sure you can think of a waaayyy better solution

@jdnichollsc
Copy link
Member

Ohh interesting, any pull request is welcome! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development
Awaiting triage
Development

No branches or pull requests

2 participants