上传测试

目标 POST /upload · 服务端流式读完直接丢弃,不落盘、不进内存、无大小上限

方式一 · 生成数据上传(不需要本地文件)

方式二 · 选本地文件上传

进度

已发送
速度
已用时
剩余
等待开始…

命令行等价写法

curl -T bigfile         http://34.80.138.156:8088/upload   # PUT 流式
curl -F "file=@bigfile" http://34.80.138.156:8088/upload   # POST multipart
head -c 1G /dev/zero | curl -T - http://34.80.138.156:8088/upload

另一个页面