developit / developit/redaxios

Sending an array in a GET request turns it into a string

Open
#52 1 comment 0 reactions 0 assignees View on GitHub
compat
Dominant language
JavaScript
Stars
4.9k
Forks
104
PR merge metrics
No merged PRs in 30d

Description

If you send an array as a parameter in a GET request, `redaxios` turns that into a string separated by commas. This seems like a bug.

On the server-side (ie: PHP) we would expect that to be provided as an array, but it ends up being a string.

In `axios` this is correctly kept as an array.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.