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 的回复
于 2017 年 03 月 03 日 7:48上午
Wrong section, you should move it to the API Support area for better visibility.
k3sh 的回复
于 2017 年 03 月 03 日 8:11上午
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
Travis Bell 的回复
于 2017 年 03 月 03 日 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.