add /api/ path for API