Error 401 when accessing API, works manually with curl
Hello,
1st of all, thank you for developing this.
Have an issue with it.
After implementing it into a test postfix, I keep getting eror 401 from abuseipdb.com
abuseipdb_check: Cannot get AbuseIPDB data for 66.163.184.45, responded with code 401. Checking skipped.
Testing with their example api commands, I receive the expected results, without any error.
curl -G https://api.abuseipdb.com/api/v2/reports \
--data-urlencode "ipAddress=66.163.184.45" \
-d page=5 \
-d perPage=25 \
-H "Key: MyKey" \
-H "Accept: application/json"
{"data":{"ipAddress":"66.163.184.45","isPublic":true,"ipVersion":4,"isWhitelisted":false,"abuseConfidenceScore":2,"countryCode":"US","usageType":"Data Center\/Web Hosting\/Transit","isp":"Oath Holdings Inc.","domain":"verizonmedia.com","hostnames":["sonic317-34.consmr.mail.ne1.yahoo.com"],"totalReports":1,"numDistinctUsers":1,"lastReportedAt":"2023-04-03T06:41:46+00:00"}}
Any clue as to what might cause error 401?
Thank you.