Hi,
I have this as my code but still give the same error :
url = "https://ip2whois-whois-information-lookup.p.rapidapi.com/"
querystring = {“domain”:_domain,“key”:“free”}
headers = {
‘x-rapidapi-host’: “ip2whois-whois-information-lookup.p.rapidapi.com”,
‘x-rapidapi-key’: WHOIS_rapidapi_key
}
response = requests.request(“GET”, url, headers=headers, params=querystring).json()
Join in the discussion - add comment below: