Hello guys,
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.themoviedb.org/3/discover/tv',
params: {page: '1', with_genres: '28'},
headers: {
accept: 'application/json',
Authorization: 'My token is used here properly'
}
};
axios
.request(options)
.then(function (response) {
console.log(response.data);
})
.catch(function (error) {
console.error(error);
});
This GET request returns nothing for me, an empty results array. Is it something wrong on my side or is there some kind of issue?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ أبريل 4, 2024 في 11:57 صباحا
Genre 28 - Action, is valid only for Movies.
For TV use the genre 10759 - Action & Adventure
رد بواسطة milan_gl
بتاريخ أبريل 4, 2024 في 2:02 مساءا
Thanks a lot, will try!