From 2202ecdc63707ea846cc19a2130e88a534c94344 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sat, 25 Jan 2020 09:41:19 +0100 Subject: [PATCH] WireMockServer --- Proxying.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Proxying.md b/Proxying.md index a21fd3d..30264e9 100644 --- a/Proxying.md +++ b/Proxying.md @@ -5,7 +5,7 @@ It's possible to start the WireMockk server in Proxy mode, this means that **all Setup a proxy to samples.openweathermap.org ``` c# -var settings = new FluentMockServerSettings +var settings = new WireMockServerSettings { Urls = new[] { "https://localhost:9095/" }, StartAdminInterface = true, @@ -18,7 +18,7 @@ var settings = new FluentMockServerSettings } }; -var server = FluentMockServer.Start(settings); +var server = WireMockServer.Start(settings); ``` You can now call (via an httpclient or just in browser) this URL: `https://localhost:9095/data/2.5/find?q=London&units=metric&appid=b6907d289e10d714a6e88b30761fae22`