A sample API server.