swapi-ruby icon indicating copy to clipboard operation
swapi-ruby copied to clipboard

Updated swapi.rb to handle HTTP <-> HTTPS

Open Brodur opened this issue 5 years ago • 0 comments

The base URL was incorrect, changed to "https://swapi.dev/api" URL redirect was not handled, added error handling from https://stackoverflow.com/a/39160567

Brodur avatar Oct 08 '20 15:10 Brodur