You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending multiple values for the same query param such as state. Below is what FE is sending: ?state[]=active&state[]=unbonding
However, backend is expecting it to be: ?state=active&state=unbonding.
We shall fix from FE as the pattern used in backend is already consumed by partners in phase-1. it will otherwise be a breaking change if we change it.
Alternatively, you can make the backend to accept formats like ?state=active,unbonding while maintain the ability to accept ?state=active&state=unbonding
The comma style is the most common way of sending multi-valued query params
The text was updated successfully, but these errors were encountered:
When sending multiple values for the same query param such as state. Below is what FE is sending:
?state[]=active&state[]=unbonding
However, backend is expecting it to be:
?state=active&state=unbonding
.We shall fix from FE as the pattern used in backend is already consumed by partners in phase-1. it will otherwise be a breaking change if we change it.
Alternatively, you can make the backend to accept formats like
?state=active,unbonding
while maintain the ability to accept?state=active&state=unbonding
The comma style is the most common way of sending multi-valued query params
The text was updated successfully, but these errors were encountered: