Hello guys,I'm building a bot where I need to do some HTTP calls to an API ( http://worldtimeapi.org/ ). I'm using the Request library. When I try to get the list of all timezones (http://worldtimeapi.org/api/timezone) it works well. However, when I build up the link to each location (with the base "http://worldtimeapi.org/api/timezone/" and appending the timezones, such us "http://worldtimeapi.org/api/timezone/Europe/Madrid"), I get a 200 on some request and 403 on some others. I'm getting the 200 statuscode on the first ones and then a list of 403 ones.Here's is the code I'm talking about: https://pastebin.com/ZqQ6P6WFAny help? May it be some sort of rate limit?Thank you all!
Submitted June 28, 2019 at 03:15PM by a7escalona
No comments:
Post a Comment