我想用axios上传图像
axios.post('https://api.imgur.com/3/image' , {image : 'data:image/png;base64,' + 'base64Data' , album : 'albumID'} , {
"headers": {
"content-type": "multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW",
"Authorization": "Client-ID {MyClientID}"
}
});
它会触发400错误(我认为是错误的请求)