axios get with tow params react 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 } });