weixin_42654444
昨夜是今晨的开始
2018-11-14 06:07

curl能够返回的请求如何通过网址方式返回

20
  • curl
  • 图片
  • web

比如我在命令行中输入

 curl --data '{"jsonrpc":"1.0","id":"curltest","method":"getwalletinfo","params":[]}' http://user:123456@127.0.0.1:18332/

得到的返回值是

 {"result":{"walletname":"","walletversion":169900,"balance":0.00652964,"unconfirmed_balance":0.00000000,"immature_balance":0.00000000,"txcount":9,"keypoololdest":1541586836,"keypoolsize":1000,"keypoolsize_hd_internal":1000,"paytxfee":0.00000000,"hdseedid":"903b49b210bd3ef7e36326b34acdadff831ea1e0","hdmasterkeyid":"903b49b210bd3ef7e36326b34acdadff831ea1e0","private_keys_enabled":true},"error":null,"id":"curltest"}

哪我如何通过网页返回相同内容,具体到网页操作应该是怎样,最好给个完整的例子
例如:图片说明

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答