To make a whois request simply access jsonwhois.heroku.com/[domain_name].
The response type will be application/json if you add the appropriate Accept http header to your request.
Examples: