linux shell 发送 http请求,curl post

时间:2021-11-30 21:34:32

例如:

要发送的请求为:

http://yus.navi.youku.com/playlog/clear.json?token=69f4ffe343520d292cd99633decd6f2c7146f47e7&_t=1457423198451

 

 

======>>>>>:

#自动清除播放记录
# 添加到linux crontab 中
#http://yus.navi.youku.com/playlog/clear.json?token=69f4ffe343520d292cd99633decd6f2c7146f47e7&_t=1463019847839

curl -d "token=69f4ffe343520d292cd99633decd6f2c7146f47e7&_t=1463019847839" "http://yus.navi.youku.com/playlog/clear.json"