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?
Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.
Norite įvertinti ar įtraukti šį elementą į sąrašą?
Nesate narys?
Atsakė ticao2 🇧🇷 pt-BR
2024 balandžio 4, 11:57 AM
Genre 28 - Action, is valid only for Movies.
For TV use the genre 10759 - Action & Adventure
Atsakė milan_gl
2024 balandžio 4, 2:02 PM
Thanks a lot, will try!