📜  axios 删除请求负载 - Javascript 代码示例

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

代码示例1
//instead of
axios.put(url, { foo: "bar" });

//wrap the data in the data propery of a new object
axios.delete(url, { data: { foo: "bar" } });