Fixed Issue #1

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

View File

@@ -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!""}")