'I got a json.decoder.JSONDecodeError while requesting my IP
import requests
headers = {
"Host" : "iplocation.com"
}
res= requests.get("https://iplocation.com/", headers=headers).json()
print(res)
Error
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
What should I do?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
