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); } }); });
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 14. März 2015 um 17: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)?