How to Send Array Query Parameters using array[]=val1&array[]=val2 format in GET Requests (try it)? #630
Unanswered
michaelpoernomo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using "test request" (try it) to send a GET request, is it possible to structure the query parameter for an array like this:
Instead of the default format:
This is because Laravel, by default, expects array query parameters in the columns[] format rather than columns.
Here are the validation rules I use in my Laravel application:
Beta Was this translation helpful? Give feedback.
All reactions