2020-09-18 curl 读取文件发送post请求

2020-09-18  本文已影响0人  wingle_smile

'''

!/bin/bash

for line in cat exsample.txt
do
curl -H 'Content-type:application/x-www-form-urlencoded;charset=GBK' -d 'key=111' --data-urlencode 'text='$line 127.0.0.1:8000/correct/detect_correct
done
'''

上一篇下一篇

猜你喜欢

热点阅读