Updated Proxying (markdown)

Stef Heyenrath
2017-05-07 10:15:02 +02:00
parent 3a09d03b16
commit 227b9a3dba

@@ -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")
); );
``` ```