Add /api/ to endpoints