chrome的Copy as cURL功能很好用,但是windows10用户可能会遇到如下错误:
curl: option --compressed: the installed libcurl version doesn't support this
解决方法:
下载 curl-7.73.0_1-win64-mingw.zip,解压后进入文件夹。将bin目录路径添加到系统环境变量中,注意将环境变量上移至第一个。重启cmd窗口,运行curl命令不再报错
重启cmd窗口后重试,错误解决