当前位置: 首页 > 工具软件 > globbing > 使用案例 >

curl: (3) [globbing] bad range specification in column XXX

汪正雅
2023-12-01

问题描述

(venv) h3d@h3d2102:~/lizheng/testFlask$ curl -v -X PUT http://127.0.0.1:5000/jobs/%7B%22workspace%22:%22123%22,%22start%22:123456,%22count%22:1,%22tid%22:%22asd8-wqenj0-92mm-mlasd-kf%22,%22qqlist%22:[],%22params%22:[]%7D

执行后报错:

curl: (3) [globbing] bad range specification in column 146

解决方式

在命令中添加-g

原因

%7B和%7D即为{}

查看帮助文档:

-g, --globoff       Disable URL sequences and ranges using {} and []


 类似资料: