WireMockServer

Stef Heyenrath
2020-01-25 09:41:19 +01:00
parent 57b59c5b77
commit 2202ecdc63

@@ -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`