Add /api redirect
Test redirect against request.path