""" @author: luojunhui """ import requests url = "http://{}:8111/task".format("localhost") w = requests.get(url) print(w)