I'm trying to create an abuse API using godaddys API, but I can't seem to post it. Here is the code that I created
url = "https://api.ote-godaddy.com/v2/abuse/tickets"
auth = {
"api_key" : "3mM44UdB6FaWLn_AarYNUqJ6Aavv6CwKFCncC",
"secret_key" : "3VUUPgmx7wdz24nbHFCbZu",
}
headers = {
"accept" : "application/json",
"Content-Type": "application/json",
"Authorization": "sso-key undefined:undefined",
}
body = {
"info": "Website Phishing",
"infoUrl": "https://info-bni-live.go.studio/",
"source": "bni.co.id",
"target": "PT BNI",
"type": "PHISHING",
"proxy": "ARE",
"useragent": "DESKTOP"
}
response = requests.post("https://api.godaddy.com/v2/abuse/tickets", auth, body, headers)
print(response.json())
After I ran the code, here's the result that I got from it
{'code': 'MISSING_CREDENTIALS', 'message': 'Unauthorized : Credentials must be specified'}
Are my codes wrong to post the abuse tickets to godaddy?
Regards, thanks