Answers for "pass query string in axios instance"

0

pass query string in axios instance

pass it as params in axios instance

const axiosInstance = axios.create({

  baseURL: baseURL,
  timeout: 5000,
  params: {
    api_key : "xyz"
  },


  
});
Posted by: Guest on September-28-2021

Browse Popular Code Answers by Language