Use python requests. Check the link, there are examples how you get json from response.
req = requests.get(server, auth=('user',"pass"))
req.json()
If you want it as string, use
req.text
Use python requests. Check the link, there are examples how you get json from response.
req = requests.get(server, auth=('user',"pass"))
req.json()
If you want it as string, use
req.text