Answers for "pass ? url data"

0

pass ? url data

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