【发布时间】:2020-03-24 09:03:00
【问题描述】:
我正在使用 React Hooks,我想使用 axios hooks 包将图像发送到 Cloudinary。
const [
{ data: putData, loading: putLoading, error: putError },
executePut
] = useAxios(
{
url: 'https://api.myjson.com/bins/820fc',
method: 'PUT'
},
{ manual: true }
)
文档对标头只字未提?
【问题讨论】:
标签: axios react-hooks