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); } }); });
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on March 14, 2015 at 5:49 PM
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)?