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)
});
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة MrRadical
بتاريخ مارس 3, 2017 في 7:48 صباحا
Wrong section, you should move it to the API Support area for better visibility.
رد بواسطة k3sh
بتاريخ مارس 3, 2017 في 8:11 صباحا
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
رد بواسطة Travis Bell
بتاريخ مارس 3, 2017 في 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.