查看Apigee 文档,似乎没有指示 API BaaS 中资产允许的最大文件大小。
目前我正在尝试使用以下 CURL 命令发布一个 39MB 的存档:
curl -X PUT -i -F name="archive" -F file=@"/path/to/archive.zip" "https://api.usergrid.com/{org}/{app}/archives/{uuid}"
它正在回退:
HTTP/1.1 413 Request Entity Too Large
Content-Type: application/json
Content-Length: 98
Connection: Close
{
"fault":
{
"faultstring": "Body buffer overflow",
"detail":
{
"errorcode": "protocol.http.TooBigBody"
}
}
}