php调Java接口传值
巴扎黑
巴扎黑 2017-04-10 16:17:07
0
2
346

如何利用url形式给Java接口传值;类似于这样
http://localhost:8080/oms/router?appKey=00001&method=user.getSession&v=1.0&format=xml&service=subCreateSaleOrder&encrypt=1&content=4352345dfgsdfas&secret=34532452345/

php改用什么函数让Java那边能接收到

巴扎黑
巴扎黑

répondre à tous(2)
阿神

头没要求的就 file_get_contents('http://localhost:8080/oms/router?appKey=00001&method=user.getSession&v=1.0&format=xml&service=subCreateSaleOrder&encrypt=1&content=4352345dfgsdfas&secret=34532452345/');
有要求的就Curl

黄舟

传值也是这样写吗

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!