add redirect to /api
no trailing slash