linux上调用接口命令

linux命令:

1.ping ip地址:
ping 10.211.93.48
telnet 127.0.0.1 8080
2.ll -trh

3.在sit linux上调用接口:
CRT:
curl -t http://10.211.93.48:9088/r/getCatelogIdByVcodemsisdn=15088775046
curl -d ‘15088775046’ -H ‘Content-type:text/xml’ -v -X POST http://10.211.93.48:9088/r/

echo命令: 现网SPI验证码接口

echo ‘157105312831’|curl -X POST -H ‘Content-type:text/xml’ -d @- http://211.140.17.101:9094/spi/getCatelogIdByVcode

echo命令: sit环境hyspi验证码兑换接口:
echo ‘155156734951111111’|curl -X POST -H ‘Content-type:text/xml’ -d @- http://10.211.93.142:9093/hyspi/getCatelogIdByVcode

CRT连接现网SPI环境,hyspi01@10.212.239.39,输入命令:
echo ‘157105312831’|curl -X POST -H ‘Content-type:text/xml’ -d @- http://211.140.17.101:9094/spi/getCatelogIdByVcode

4.ps -efx|grep java
tail -f 20171106.log
tail -f HY_SPI.log
tail -f HY_SPI.log |grep ‘GetCatelogIdByVcodeServlet’
tail -f HY_SPI.log |grep ‘GetCatelogIdByVcode’
grep ‘Enter GetCatelogIdByVcode service’ portal.log
grep '################################msisdn = ’ portal.log

sit环境
之前的hyspi地址:http://10.211.93.142:8088/hyspi/getCatelogIdByVcode
现在hyspi地址:http://10.211.93.142:9093/hyspi/getCatelogIdByVcode

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值