<How do you use wiremock to redirect to another UR...
# stackoverflow
r
How do you use wiremock to redirect to another URL using parts of the request as part of the redirect location? I want to have a wiremock rule that will match /my-login-service/callback.(\?.) and will redirect to https://myservice.local/myservice/callback while keeping all the query parameters intact. So a wiremock request to /my-login-service/callback?param1=val1&param2=val2 becomes redirected to https://myservice.local/myservice/callback?param1=val1&amp;param2=val2 I cannot use proxiedFrom because I need the webpage to land in a specific spot. How can I use Wiremock server to redirect with all the...