http service for population query