Hello, I am getting the 401 error "invalid api key" anyone know where im going wrong?
$(document).ready(function() { $.ajax({ type: 'GET', url: 'https://api.themoviedb.org/3/movie/550?api_key=my key goes here', contentType: 'application/json', dataType: 'jsonp', success: function(json) { console.dir(json); }, error: function(e) { console.log(e.message); } }); });
找不到电影或节目?登录并创建它吧。
Travis Bell 的回复
于 2015 年 03 月 14 日 5:49下午
I'm not sure with your specific example, to be honest. I know this is a working jQuery example. Is it working for you (obviously the var on line 11 needs to be updated)?