mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-07-08 13:55:10 +02:00
This commit is contained in:
@@ -142,11 +142,13 @@ namespace WireMock.Net.ConsoleApplication
|
|||||||
.WithBodyFromFile(@"c:\temp\x.json")
|
.WithBodyFromFile(@"c:\temp\x.json")
|
||||||
);
|
);
|
||||||
|
|
||||||
//server
|
server
|
||||||
// .Given(Request.Create().WithPath("/file_rel").UsingGet())
|
.Given(Request.Create().WithPath("/file_rel").UsingGet())
|
||||||
// .RespondWith(Response.Create()
|
.WithGuid("0000aaaa-fcf4-4256-a0d3-1c76e4862947")
|
||||||
// .WithBodyFromFile("Program.cs", false)
|
.RespondWith(Response.Create()
|
||||||
// );
|
.WithHeader("Content-Type", "application/xml")
|
||||||
|
.WithBodyFromFile("WireMock.Net.xml", false)
|
||||||
|
);
|
||||||
|
|
||||||
server
|
server
|
||||||
.Given(Request.Create().WithHeader("ProxyThis", "true")
|
.Given(Request.Create().WithHeader("ProxyThis", "true")
|
||||||
|
|||||||
Reference in New Issue
Block a user