My task is sent request from frontend to contoller x, make some logic in it, and based on that redirect to controller y or not, my questions are:
how to redirect from x controller to y controller (with all request headers and query params I sent from frontend to controller x) .
how to lock controller y so I can't access it directly from frontend (the only access is through controller x).