Specific Errors Scenarios

Invalid IPv4 Response

$ curl -i https://api.deepinfo.com/v1/discovery/reverse-ip?ip=1.1.1.256
HTTP/1.1 400 BAD REQUEST
...
{
    "code": 1200,
    "reason": "The given input is not a valid IP."
}

IPv6 address is not a supported input for a successful response

$ curl -i https://api.deepinfo.com/v1/discovery/reverse-ip?ip=2606:4700:3033::ac43:ab3c
HTTP/1.1 400 BAD REQUEST
...
{
    "code": 1200,
    "reason": "The given input is not a valid IP."
}