上传文件,邮递员成功。 curl 413请求实体太大?

时间:2019-12-26 10:15:46

标签: linux nginx curl

我想将文件上传到服务器。 我用邮递员返回成功〜 但是curl返回413请求实体太大。

curl --location --request POST 'https://xxxxx/upload-forward/' --header 'Content-Type: multipart/form-data' --form 'file=@/FILE.rar'
<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>
[root@iZ8vb4fflsonz1bbx8vmwgZ /]# curl --location --request POST 'https://digital-store.lenovo.com/smart-edge-management/video/upload-forward/' --header 'Content-Type: multipart/form-data' --form 'file=@/BTIT_ALL.rar'
<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx</center>
</body>
</html>

plz〜谢谢〜

0 个答案:

没有答案