charlesabarnes / SPFtoolbox

SPFtoolbox is a Javascript and PHP app to look up DNS records such as SPF, MX, Whois, and more
http://spftoolbox.com/
MIT License
274 stars 61 forks source link

API Documentation Request #43

Open R0dri opened 4 years ago

R0dri commented 4 years ago

Digging the code I found access to the API which I found is not documented although easily accesible and usable.

GET @ /operations? Params: domain=***** (the domain or url to check) request=blacklist (the desired test to make) port=### (Depending on the request type)

And getting a simple JSON response well formatted. I used it with Postman Monitors to check every week if my domain has gone to any blacklist.

I find this API very useful and a handy application overall to host alongside a webmail on a mail server.

charlesabarnes commented 4 years ago

I can probably make a simple documentation page with just html

R0dri commented 4 years ago

Let me know if I can help with anything, I think just mention on the readme the support for api and what params are needed to what url will suffice.