I have an HTTP Request that I need to pass an array of query parameters, like:
?q_organization_keyword_tags[]=financial&q_organization_keyword_tags[]=investment
I fill out the query parameter form like this:
This doesn’t work – only the last value is being transmitted. How can I get this to work?
Information on your n8n setup
- n8n version: 1.111.0
- Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
jabbson
2
Hey @whitford-olmst hope all is good.
This certainly looks like a bug. You can report it here.
In the meantime you could try to just regularly append them to the URL?..
1 Like
Yes appending them to the URL works as expected, but using the query parameter fields does not work.
However, there’s something strange that makes it work: by creating one field with [] like this and the other without []:
the result:
jabbson
4
My bet is internally they are collected into a hash which eliminates the ones with the same “key”.
jabbson
5
Yup, I think it happens right here:
1 Like
jabbson
6
If you dont wish to deal with opening a bug, let me know, I will do it for ya.
Jon
8
Just to quickly add we do see issues here as well, they don’t need to be duplicated on GitHub 
system
Closed
9
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.