mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-21 16:48:59 +01:00
Updated Proxying (markdown)
@@ -7,11 +7,11 @@ The following code will proxy all GET requests made to http://<host>:<port>/othe
|
||||
server
|
||||
.Given(
|
||||
Request.Create()
|
||||
.WithPath("/other/service")
|
||||
.WithPath("/google")
|
||||
)
|
||||
.RespondWith(
|
||||
Response.Create()
|
||||
.WithProxy("http://otherhost.com/approot")
|
||||
.WithProxy("http://www.google.com")
|
||||
);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user