API endpoint. Use /api/* routes.