-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
How to send an array of queryParameters? #315
Comments
var uri = Uri(
...
queryParameters: {
"templateId": ['1', '2']
},
);
dio.getUri(uri); |
Thank you, works perfectly. The issue was I was using dio.get() instead of dio.getUri() |
Why is this closed if the issue still exists? |
This issue should be reopened |
1 similar comment
This issue should be reopened |
We're still facing this issue, please reopen. |
Please reopen the issue |
I am also facing this issue. Can you please reopen this issue? |
I'm facing this error too, I just want to send a simple int list but can't |
This format helped me solve this problem |
It doesn't work with For example:
When it calls the api I notice that it uses |
这是来自QQ邮箱的假期自动回复邮件。。。。收到了哦~~!
|
1 similar comment
这是来自QQ邮箱的假期自动回复邮件。。。。收到了哦~~!
|
New Issue Checklist
Issue Info
Issue Description and Steps
How do I send an array of queryParameters?
In postman, I am able to send a GET with an array of parameters. The URL looks like this and it works fine:
I have tried a lot of different ways to do the same in flutter with Dio and can't get it to work:
The text was updated successfully, but these errors were encountered: