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); } }); });
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 14 de marzo de 2015 a las 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)?