Hi there, I have an issue with my API Key. If I search a movie, e.g. http://api.themoviedb.org/3/search/movie?query=#{title}&api_key=#{API_KEY} everythings works fine. But if I try to fetch a movie by id http://api.themoviedb.org/3/movie/#{movie_id}&api_key=#{API_KEY} I get a 401 Unauthorized Error And in the Browser I get: { "status_code": 7, "status_message": "Invalid API key - You must be granted a valid key" }
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2013 年 10 月 07 日 10:28上午
Hi jensitus,
Your first HTTP parameter must be called with a question mark, not an ampersand.
Cheers.
jensitus 的回复
于 2013 年 10 月 07 日 11:40上午
Jesus, you're right. I'm stupid. Thank you.