Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 641 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 641 Bytes

Whois API

Build Status Code style: black

whois-api is an API service for whois lookup.

Quickstart

Build the docker image:

$ docker build -t whois-api:0.0.1 .

Run the image using docker-compose:

$ docker-compose up

Now you can use the api:

$ curl -X POST http://localhost:5000/api/whois/ \
    -H "Content-Type: text/plain" \
    -H 'X-Whois-key: fakekey123' \
    -d "google.com"