
cmd中可以執行的curl命令在dos中卻返回錯誤的結果,求大神幫忙看下在cmd命令行中執行如下curl命令返回結果正確.curl -s http://172.17.3.100:81/base/image/detect?appid=test&token=fc18b32ad40c1c52187b565a5357383a&url=%2fbimg%2fLOC%3a03%2fdata_60%2f0714%2f00%2f2ebd1b4a8e42be0630141858629f4778_1執行結果D:test>curl -s http://172.17.3.100:81/base/image/detect?appid=snface&token=fc18b32ad40c1c52187b565a5357383a&url=%2fbimg%2fLOC%3a03%2fdata_60%2f0714%2f00%2f2ebd1b4a8e42be0630141858629f4778_1{code:200,message:鎴愬姛,data:{digest:FaceDetectResult_5603817337a2c1a891b37d016f6768ab,url:/bimg/LOC:03/data_60/0714/00/2ebd1b4a8e42be0630141858629f4778_1,faceinfo:[{rect:{left:37,top:53,right:103,bottom:120,confidence:99},index:0,attribute:{age:32,attractive:-1,eyeGlass:0,gender:0,smile:-1,sunGlass:0},url:/bimg/LOC:03/data_60/0714/00/2ebd1b4a8e42be0630141858629f4778_1}]},status:SUCCESS}將上面的命令放到bat腳本中執行則報錯@echo offsetlocal enabledelayedexpansioncurl -s http://172.17.3.100:81/base/image/detect?appid=snface&token=fc18b32ad40c1c52187b565a5357383a&url=%2fbimg%2fLOC%3a03%2fdata_60%2f0714%2f00%2f2ebd1b4a8e42be0630141858629f4778_1pause執行結果{code:501,message:鍥劇墖鏈嶅姟鍣ㄥ紓甯?,data:null,status:ERROR}請按任意鍵繼續. . .

