这个get-request不应该返回一个有效的JSON结果吗?
https://api.flattr.com/rest/v2/users/:der_michael
如果我在浏览器中打开它,我得到
{"error":"not_found","error_description":"The requested user could not be found","error_uri":"http://developers.flattr.net/v2/#user"}
根据当前文档@ http://developers.flattr.net/v2/#resources,这应该是一个足够的请求,不是吗?
请求基本正确。只有一个冒号(:
)太多了。
https://api.flattr.com/rest/v2/users/der_michael
祝你好运!