REST API base server.