HttpClientHelper : BodyAsBytes

This commit is contained in:
Stef Heyenrath
2017-10-23 20:56:01 +02:00
parent bcdc3d646a
commit 656f7f5432
2 changed files with 8 additions and 6 deletions

View File

@@ -30,6 +30,13 @@ namespace WireMock.Net.ConsoleApplication
// server.AllowPartialMapping();
server
.Given(Request.Create().WithHeader("ProxyThis", "true")
.UsingGet())
.RespondWith(Response.Create()
.WithProxy("http://www.google.com")
);
server
.Given(Request.Create().WithPath("/bodyasbytes.png")
.UsingGet())