pass params axios se réagir
const params = new URLSearchParams([['answer', 42]]);
const res = await axios.get('https://httpbin.org/get', { params });
res.data.args; // { answer: 42 }
Grieving Gharial