按照文档用 curl 来调用,
curl -X GET \
-H "X-LC-Id: zL4vS94xqF5IYs1urqnYqK9g-gzGzoHsz" \
-H "X-LC-Key: vvhJ4efONc3mcLO0iPC9kCM4" \
-H "Content-Type: application/json" \
-G \
--data-urlencode 'owner={"__type":"Pointer","className":"_User","objectId":"dennis id"}' \
https://leancloud.cn/1.1/subscribe/statuses
LC-Id
和 LC-Key
换成我自己的,参数里的 objectId
也换成对应用户的,我自己加了登录用户的 LC-Session
最终还是返回来 Owner is Required