I am working on a project with vue.js and to handle my AJAX
requests I use Axios
, I wonder if it is possible to pass as a parameter to a POST
request an array of objects, of this type:
[{id: 1, name: 'max'}, {id: 2, name: 'jhon'}, {id: 3, name: 'anna'}]
If possible, what is the best way to do this?