unstoppabledomains/resolution

API redirects to main 404 page of website

micovi opened this issue · 1 comments

Hello,

I tried to get domain data for a wrong word and I found a bug on the API I think.

https://unstoppabledomains.com/api/v1/test

Should return some kind of error, not redirect to main 404 page.

API allows other endpoints in the same namespace as the domain name like:

/api/v1/search
/api/v1/info

This feature can not be implemented because there is no way to know if you typed a wrong domain when it doesn't have .zil or .eth suffix.