New version with HTTP request instead of Socket