0👍
✅
You can try performing multiple requests with your Axios client and using Promise.all to wait on the result of all your requests.
Here’s an example using JavaScript:
const promiseGet = axios.get('/user?ID=12345')
const promisePost = axios.post('/user', { some: data })
const [responseGet, responsePost] = await Promise.all(promiseGet, promisePost)
Note that you should handle the possible errors (it’s not described in the example above!)
Source:stackexchange.com