Fixed Issue #1

This commit is contained in:
Stef Heyenrath committed 2017-01-17 23:41:58 +01:00
1 parent eeaeeb2c61
commit c0872995b0
29 files changed
+493 -396

No files matched your search

@@ -1,5 +1,8 @@
using System;
using Newtonsoft.Json;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
namespace WireMock.Net.ConsoleApplication
{
@@ -16,12 +19,12 @@ namespace WireMock.Net.ConsoleApplication
server
.Given(
Requests
RequestBuilder
.WithUrl("/*")
.UsingGet()
)
.RespondWith(
Responses
ResponseBuilder
.WithStatusCode(200)
.WithHeader("Content-Type", "application/json")
.WithBody(@"{ ""msg"": ""Hello world!""}")