Hi guys I've been trying to to get the list of popular movies using jquery ajax, but it's not working
var api_key = xxxxxx
$.ajax({
url: 'https://api.themoviedb.org/3/search/movie?api_key=' + api_key + '&query=fast and furious',
dataType: 'jsonp',
})
.then(function(response) {
console.log(response)
});
¿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 MrRadical
el 3 de marzo de 2017 a las 07:48
Wrong section, you should move it to the API Support area for better visibility.
Contestado por k3sh
el 3 de marzo de 2017 a las 08:11
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
Contestado por Travis Bell
el 3 de marzo de 2017 a las 10:35
Hi @joelzr02
Without seeing the error you're getting it's hard to know what might be going on.
Here's a test file you can see is working (make sure ot change line
11
with your API key.