mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-16 22:01:06 +01:00
Updated Proxying (markdown)
1 parent
3a09d03b16
commit
227b9a3dba
1 file changed
+2
-2
+2
-2
@@ -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