import json
import requests
country = 'GB'
url = ('http://kitkabackend.eastus.cloudapp.azure.com:5010/highscore/crowns/list?country='+country)
r = requests.get(url)
print(r.text)
The same code was working for me for a while before but now it suddenly gives me an error like before. I've tried adding headers when requesting but that also didn't fix the error.(im a beginner using repl.it)
error shown on console - raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response