How can I make http requests? (http requests are hanging)

Hello. I am having trouble making http requests. When I run
response = requests.get(my_url), the application is left indefinitely hanging. How can I make requests for JSON data to an external URL?