Python Request for JSON file returns None

Viewed 1088
from fake_useragent import UserAgent
import requests

ua = UserAgent()
header = {'User-Agent':str(ua.chrome)}

d = {"query": "/api/v2/details/ip/", "query_entry": "41.219.127.69"}


r = requests.get("https://talosintelligence.com/sb_api/query_lookup/", 
data = d, headers=header)

When I run the same result from the main site "talosintelligence.com" and look at the network counsel, that exact URL is responds with a JSON file but a get request from python returns None.

Screenshot of page

1 Answers
Related