Reputation: 445
I would like to know if i can send an array of this type endate []
in the parameter fecha2 of the following url:
http://www.xxxx.com/app/disponibilidad?idUser&fecha2&fecha1&desde&hasta
endate[]
has several date I want to send in a single url. I would like to know if that is possible
Upvotes: 0
Views: 3681
Reputation: 324
You can get a good idea in How to pass an array within a query string?
You can also encode it to JSON and pass it as a single string, then decode it on your backend. Sounds simpler to me.
Upvotes: 2