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)
});
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de MrRadical
le 3 mars 2017 à 07h48
Wrong section, you should move it to the API Support area for better visibility.
Réponse de k3sh
le 3 mars 2017 à 08h11
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
Réponse de Travis Bell
le 3 mars 2017 à 10h35
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.