Service for searching information about ip in local database (country, organization).
GET /lookup?ip=<ip_address>
curl "http://localhost:8080/lookup?ip=8.8.8.8"
POST /ranges/add/country
curl -X POST "http://localhost:8080/ranges/add/country" \
-H "Content-Type: application/json" \
-d '{
"ip_start": "192.168.0.0",
"ip_end": "192.168.255.255",
"name": "RU"
}'
POST /ranges/add/organization
curl -X POST "http://localhost:8080/ranges/add/organization" \
-H "Content-Type: application/json" \
-d '{
"ip_start": "8.8.8.0",
"ip_end": "8.8.8.255",
"name": "Google"
}'