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)
});
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
MrRadical adlı kullanıcıyı yanıtla
3 l 2017 tarihinde saat 7:48 ÖÖ'da
Wrong section, you should move it to the API Support area for better visibility.
k3sh adlı kullanıcıyı yanıtla
3 l 2017 tarihinde saat 8:11 ÖÖ'da
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
Travis Bell adlı kullanıcıyı yanıtla
3 l 2017 tarihinde saat 10:35 ÖÖ'da
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.