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)
});
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by MrRadical
on Maret 3, 2017 at 7:48 AM
Wrong section, you should move it to the API Support area for better visibility.
Reply by k3sh
on Maret 3, 2017 at 8:11 AM
Yes @MrRadical is correct.
@joelzr02 please move your query to API Support board.
This thread is now closed.
Reply by Travis Bell
on Maret 3, 2017 at 10:35 AM
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.