我想在页面上获取google plus的总份额,并且在将以下数据传递给httparty时遇到问题。
网址
https://clients6.google.com/rpc?key=YOUR_API_KEY
帖子正在
[{
"method":"pos.plusones.get",
"id":"p",
"params":{
"nolog":true,
"id":"http://stylehatch.co/",
"source":"widget",
"userId":"@viewer",
"groupId":"@self"
},
"jsonrpc":"2.0",
"key":"p",
"apiVersion":"v1"
}]
如何使用httparty提交此数据。感谢