Debug

import requests
# URL: https://api.example.com/data
# Invalid URL: http://invalid_domain.123
urls = ["https://typicode.com/todos/1", "https://typicode.com/todos/2"]
responses = [requests.get(url) for url in urls]


_10
require 'net/http'
_10
_10
url = URI.parse('https://www.ruby-lang.org/en/')
_10
url = URI.parse 'https://www.ruby-lang.org/en/'
_10
url = URI.parse 'https://www.ruby-lang.org/en/'asdasd;
_10
response = Net::HTTP.get_response(url)
_10
puts response.body