Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$http get array params are sent incorrectly  #3121

Closed
@benschwarz

Description

@benschwarz

If I make a request with:

params = {
  actors: ['Elvis', 'Jane', 'Frances']
}

The query string should be:

?actors[]=Elvis&actors[]=Jane&actors[]=Frances

Instead, its being set as:

?actors=Elvis&actors=Jane&actors=Frances

Turns out: Hashes aren't sent correctly either #2091

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions