mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-21 08:39:00 +01:00
WireMockServer
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user