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); } }); });
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 14 marzo, 2015 alle 5:49PM
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)?