From 1770b4e37c905da84826c3c2e73ea5838bbd44c2 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 17 Aug 2022 08:01:51 +0200 Subject: [PATCH] Updated Stubbing (markdown) --- Stubbing.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Stubbing.md b/Stubbing.md index 14f441c..a1ebbf3 100644 --- a/Stubbing.md +++ b/Stubbing.md @@ -30,6 +30,8 @@ server HTTP methods currently supported are: GET, POST, PUT, DELETE, HEAD. You can specify ANY (`.UsingAny`) if you want the stub mapping to match on any request method. ### Json Mapping example +The same mapping as above, expressed in a json mapping: + ``` json { "Request": { @@ -55,6 +57,8 @@ HTTP methods currently supported are: GET, POST, PUT, DELETE, HEAD. You can spec } ``` +More details on the json mapping API can be found here : [Admin-API-Reference](https://github.com/WireMock-Net/WireMock.Net/wiki/Admin-API-Reference). + ### C# Example for a body with bytes A response body in binary format can also be specified as a `byte[]` via an overloaded `WithBody()`: