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