I get 403 without user agent in the header So line headers = {"Authorization": f"Bearer {api_key}"} change to headers = { "Authorization": f"Bearer {api_key}", "User-Agent": "curl/8.0" }
I get 403 without user agent in the header
So line
headers = {"Authorization": f"Bearer {api_key}"}
change to
headers = {
"Authorization": f"Bearer {api_key}",
"User-Agent": "curl/8.0"
}