我正在尝试传递axios.delete('https://httpbin.org/delete',{data:“ anything”}}); 但是当我检查响应时,数据字段为null或请求正文为null。这是在axios的delete方法中发送请求正文的唯一方法
axios.delete('https://httpbin.org/delete', {data:'gfghhhg'})
.then(response => {
console.log("response",response);
})
.catch(e => {
console.log("error",e);
})