I try this api and i find a problem, this is my code:
fetch(' https://api.themoviedb.org/3/discover/tv?api_key=myapikey&language=en-US&sort_by=popularity.desc&page=1&timezone=America%2FNew_York&include_null_first_air_dates=false')
.then((data) => res.json(data))
.catch((err) => res.send(err));
i get back size: 0 and timeout: 0
Не можете да откриете филм или сериал? Влезте, за да го създадете.
Искате ли да го оцените или добавите към списък?
Нямате профил?
Отговор от Travis Bell
на 20 октомври 2018 в 3:12 PM
Hi @Alex_it,
I'm not really able to help troubleshoot code specific issues. You can see the query itself is working fine (open this in your browser):
For something like this, you're best bet is to probably ask your question on Stack Overflow.
Hope that helps, cheers.