8000 [HttpClient] Support expanded query strings · Issue #33488 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[HttpClient] Support expanded query strings #33488
Closed
@eschultz-magix

Description

@eschultz-magix

Description
A query string for keys with multiple values is generated as key[]=value1&key[]=value2 using http_build_query internally. Some endpoints only accept keys without brackets. It would be nice to add an option to generate the other format as well.

Example
A query string for the key foo with values bar and baz can be generated either as foo[]=bar&foo[]=baz (current behaviour) or foo=bar&foo=baz (new feature).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0