mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-24 09:18:27 +02:00
Updated Request Matching (markdown)
@@ -220,7 +220,7 @@ server
|
|||||||
.Given(Request
|
.Given(Request
|
||||||
.Create()
|
.Create()
|
||||||
.WithPath("/jsonmatcher2")
|
.WithPath("/jsonmatcher2")
|
||||||
.WithBody(new JsonMatcher({ x = 42, s = "s" }))
|
.WithBody(new JsonMatcher(new { x = 42, s = "s" }))
|
||||||
.UsingPost())
|
.UsingPost())
|
||||||
.WithGuid("debaf408-3b23-4c04-9d18-ef1c020e79f2")
|
.WithGuid("debaf408-3b23-4c04-9d18-ef1c020e79f2")
|
||||||
.RespondWith(Response.Create().WithBody(@"{ ""result"": ""jsonbodytest2"" }"));
|
.RespondWith(Response.Create().WithBody(@"{ ""result"": ""jsonbodytest2"" }"));
|
||||||
|
|||||||
Reference in New Issue
Block a user