Imgur API-上传图像时的响应混乱

时间:2018-07-21 14:57:34

标签: postman imgur

我当时正在使用Postman应用(台式机版)测试Imgur API,但在尝试上传和成像时遇到了问题。

当我尝试使用https://api.imgur.com/3/image命令上传图片时,图片上传正确(我在Imgur网站中进行了检查,图片已上传),但是API的响应是:

{
"data": {
    "error": {
        "code": 500,
        "message": "Could not complete request",
        "type": "ImgurException",
        "exception": []
    },
    "request": "/3/image",
    "method": "POST"
},
"success": false,
"status": 400
}

This is the body of the request in postman

And this is the header

我真的不知道问题是否出在请求本身(API文档说唯一需要的字段是image字段)或Imgur,所以将不胜感激。

0 个答案:

没有答案
相关问题