Wrong GET request by array parameter

I am trying to request an API with a parameter, which is an array. Instead of comma delimited request, I do get following:
/v1/hotel-light?hotel-iff=16314&hotel-iff=20308&hotel-iff=112&hotel-iff=113&hotel-iff=12475&hotel-iff=1231234&hotel-iff=745&hotel-iff=1235&hotel-iff=223&hotel-iff=335&hotel-iff=3345&hotel-iff=227&hotel-iff=228&hotel-iff=448&hotel-iff=555&hotel-iff=655&hotel-iff=325&hotel-iff=324&hotel-iff=322&hotel-iff=321&hotel-iff=16314,20308

Notice, that the very last one is a comma delimited one…
What is going on here?

Thank you for your feedback. Could you please share a screenshot of your request settings so I can better understand the issue?

php takes only the last one (where not sure why, 2 iffcodes are inside) this should not be as it is

We couldn’t reproduce this issue on our end. Could you share your PHP code and a screenshot showing the parameter values received by PHP?

it should be only 1 hotel-iff parameter

the url should look like:
https://dev2-api.flux.reisen/v1/hotel-light?hotel-iff=16314,20308,321

or for that I have to change it to string? and just use 16314,20308,321 as a string?

Yes, you need to change it to a string format like “16314,20308,321” for the hotel-iff parameter to ensure it’s sent as a single value.

ok. then for what is the Array type used? if it sends always just every key separated ? you can not send multiple parameters in a get request with the same name. only the last one will be used/valid.
as it overwrites the previous ones

Currently, the Array type is only used for parameters like color=blue&color=black&color=brown. We plan to enhance this feature to support OAS-compatible style and explode in the future, but it’s still under development.