我正在尝试使用驱动器api创建一个新表单,我收到了错误的请求响应,有人知道这里缺少什么吗?我认为mimeType和Title应该足够了,有什么想法吗?
请求
POST https://www.googleapis.com/drive/v2/files?key={YOUR_API_KEY}
Content-Type: application/json
Authorization: Bearer ya29.1.AADtN_UCYtStTpi_L_pjYdzUegofa6dVQMnEYY06Z39eZWYlMym8wnZu2j3ndsIagg
X-JavaScript-User-Agent: Google APIs Explorer
{
"mimeType": "application/vnd.google-apps.form",
"title": "fff.form"
}
响应
400错误请求
显示标题 -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}