Nuuou
1/9/2019 - 9:46 PM

Axios GET Request with Parameters

axios.get('/your-url', {
  params: {
    yourParam: 'yourValue',
  },
})
  .then((response) => {
    const { data } = response;
  })
  .catch((error) => {
    console.log(error);
  });