Join Slack
Powered by
<How do you use wiremock to redirect to another UR...
# stackoverflow
r
rss
07/24/2024, 2:42 PM
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¶m2=val2 becomes redirected to
https://myservice.local/myservice/callback?param1=val1&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...
4
Views
Open in Slack
Previous
Next