For the request I'm working on using Axios, I'm aiming to send an array like this [1,2,3,4]
. This array will be used for a selection query in my backend. My question is whether it's better to use a GET
or POST
request for this purpose, and what would be the appropriate way to pass the array?