diff --git a/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs b/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs index 1e2763d6..7e3a79e1 100644 --- a/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs +++ b/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs @@ -493,6 +493,16 @@ namespace WireMock.Net.ConsoleApplication .WithBody("ok") ); + server + .Given(Request.Create() + .UsingPost() + .WithPath("/post_with_query") + .WithParam("name", "stef") + ) + .RespondWith(Response.Create() + .WithBody("OK : post_with_query") + ); + server.Given(Request.Create() .WithPath("/services/query/") .WithParam("q", "SELECT Id from User where username='user@gmail.com'")