mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Remove prefix from route before proxing? #355
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lillo42 on GitHub (Aug 26, 2021).
Hi,
Is there any way where I can remove an prefix from route before proxy it?
Wiremock: https://github.com/tomakehurst/wiremock/issues/745
Workaround: https://gist.github.com/pavetok/62f7f0e315fcadeeae9bfcb1f8de54ad
@StefH commented on GitHub (Oct 24, 2021):
Hello @lillo42 ,
I think this can be added to WireMock.Net, like adding a new property
to
dc078b57ea/src/WireMock.Net/Settings/ProxyAndRecordSettings.cs@StefH commented on GitHub (Nov 7, 2022):
@lillo42
Is this answer clear enough?
@nudejustin commented on GitHub (Apr 19, 2023):
@StefH I have raised a pull request that aims to implement your suggestion above. https://github.com/WireMock-Net/WireMock.Net/pull/924