📜  初始化 Axios React Redux CRUD API 调用 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:12.678000             🧑  作者: Mango

代码示例1
import axios from "axios";

export default axios.create({
  baseURL: "http://localhost:8080/api",
  headers: {
    "Content-type": "application/json"
  }
});