mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-06-11 00:02:44 +02:00
7fe2c8af78
* Add /__admin/mappings/code endpoint * api * fix * . * fix * . * . * .
12 lines
287 B
Plaintext
12 lines
287 B
Plaintext
var server = WireMockServer.Start();
|
|
server
|
|
.Given(Request.Create()
|
|
.UsingMethod("GET")
|
|
.WithPath("/foo1")
|
|
.WithParam("p1", "xyz")
|
|
)
|
|
.WithGuid("90356dba-b36c-469a-a17e-669cd84f1f05")
|
|
.RespondWith(Response.Create()
|
|
.WithBody("1")
|
|
);
|