系统相关
首页 > 系统相关> > shell脚本调用接口

shell脚本调用接口

作者:互联网

shell脚本调用接口发送邮件

方法:使用curl命令

curl -X -POST -H "Content-Type:application/json" -H "Cache-control:no-cache" -H "Postman-Token:b5a360a8-38c7-466b-601a-584395b3c6a5" -d '{"appid":"20000","ip":"192.168.200.201","filename":"/wls/applog/app/rtlog/test.log"}' "http://22.9.99.88:8080/api/sensitive/"

# "http://22.9.99.88:8080/api/sensitive/"邮箱接口
curl 命令各项参数使用详见:https://www.cnblogs.com/guixiaoming/p/8507268.html

 

标签:shell,调用,99.88,接口,sensitive,api,curl
来源: https://www.cnblogs.com/zbzSH/p/15388825.html