1axios.get('your_url', {withCredentials: true}); //for GET
2axios.post('your_url', data, {withCredentials: true}); //for POST
3axios.put('your_url', data, {withCredentials: true}); //for PUT
4axios.delete('your_url', data, {withCredentials: true}); //for DELETE