Hi, thanks for reporting the issue. Apparently, it looks like swapi.co is out of service and there's a mirror on swapi.dev. I've made the required changes and it should be working now.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.