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