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