银行联调使用

在这里插入图片描述

curl -k http://202.108.57.65:11917/CFCP004 -X PSOT

模拟 XML POST请求

echo ‘<?xml version="1.0" encoding="UTF-8" ?>’|curl -X POST -H ‘Content-type:text/xml’ -d @- http://10.78.3.153:7013/qz/qy

curl https://gyl-test.bankofdl.com:9080/gateway-api/normal_user/login_standard -X POST -H "Content-Type:application/xml" -d '<?xml version="1.0" encoding="UTF-8" ?><Message><ICTRL><SERVICE_CODE>42300017</SERVICE_CODE><ORG_NODE_ID>423</ORG_NODE_ID><ORG_BRANCH_ID>1004</ORG_BRANCH_ID><ORG_TX_DATE>20240408</ORG_TX_DATE><ORG_TX_TIME>14:19:24</ORG_TX_TIME><GLO_SNO>20240408141924618496392</GLO_SNO><SVR_NODE_ID>1004</SVR_NODE_ID></ICTRL><Req><cstnm>测试供应商</cstnm><cstctftype>02</cstctftype><cstctfno>123456</cstctfno><corecstnm>测试开单企业</corecstnm><corecstctftype>02</corecstctftype><corecstctfno>123456</corecstctfno></Req></Message>'

模拟JSON POST 请求

curl http://10.78.3.153:7013/qz/qy -X POST -d ‘{“hello”: “world”}’ --header “Content-Type: application/json”

curl --location --request POST ‘http://10.0.124.40:10005/entrance/api’
–header ‘Content-Type: application/json’
–data ‘{“data”: {“condition”: {“fileId”:“00003cff9411431eb773d644d07b6ba0”},“field”:{“filePath”:" “}},“head”: {“bizCode”:“CIF1081157415895826432”,“clientIP”:“10.78.3.152”,“currentEntId”:”“,“reqDateTime”:“2023-04-20 10:13:34”,“reqUrl”:”/entrance/api",“serviceApplicationIP”:“10.78.3.152”,“serviceApplicationName”:“cif”,“terminalCode”: “jdh_ent”,“tradeCode”: “O1U01”,“tradeType”: “”,“userId”: “”}}’

查看本地外网ip
curl https://api.y.org
curl https://api.ipify.org
在这里插入图片描述

在这里插入图片描述
查看网络地址

nslookup sit0.jdh.com.cn 8.8.8.8

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值