Basic HTTP request framework for REST API handling