Intercept 302 from backend and proxied new location for the client

hello,
i’m trying to catch a 302 response from backend and proxied request for the client.
is it possible ?