2011-12-27 52 views
0

不应该这个get-request返回一个有效的JSON结果吗?Flattr API v2:获取用户

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这应该是一个足够的请求,不应该吗?

回答

2

该请求几乎是正确的。只有一个冒号(:)很多。

https://api.flattr.com/rest/v2/users/der_michael

祝你好运!

+0

冒号来自官方文档,非常混乱... – 2011-12-27 17:34:11