1
I wonder if it is possible after the resolution of the Promise of a POST if I can get the result and turn into an array
Ex:
axios.post(http://localhost:5000/api/horario/,{
Nome: nome,
Horario: horario
})
I would like to take this data and turn it into an array, it is possible?
Do you want to take that data on the server or client? If it is the client Axios returns a file, then you can do
.then(res => console.log(res));
. That’s what you’re looking for?– Sergio
That’s right. Thank you
– Marquin Ferreira
Okay, you tested then join
.then(res => console.log(res));
to question code? worked as you wanted?– Sergio