A simple HTTP server for API requests