0

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:

  1. how to redirect from x controller to y controller (with all request headers and query params I sent from frontend to controller x) .

  2. how to lock controller y so I can't access it directly from frontend (the only access is through controller x).

4

0 回答 0