📜  经过 ? url 数据 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:59.510000             🧑  作者: Mango

代码示例1
pass it as params in axios instance

const axiosInstance = axios.create({

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