mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 14:20:29 +01:00
Proxy request and modify response #490
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 @avrahamshurin on GitHub (Feb 21, 2023).
Originally assigned to: @StefH on GitHub.
Hi,
Is there any way to modify a response when running a server in proxy mode?
For example I got the following the response in proxy mode, and I need to change part of the body of the response before returning it:
and I want to change the url in the response body to:
@StefH commented on GitHub (May 12, 2023):
@avrahamshurin
I don't think so, but I'll check this.
@StefH commented on GitHub (May 31, 2023):
@avrahamshurin
This can be done using response templating :
https://github.com/WireMock-Net/WireMock.Net/wiki/Response-Templating