send query parameters in post axios code example
Example: how to send data in query param in axios in get request
const res = await axios.get('https://httpbin.org/get', { params: { answer: 42 } });
const res = await axios.get('https://httpbin.org/get', { params: { answer: 42 } });