From 26240cf0c1b2693c4b0c095dcdc7cbbf0b4d58ea Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Sat, 27 Jul 2024 14:40:13 +0200 Subject: [PATCH] Updated Request Matcher FormUrlEncodedMatcher (markdown) --- Request-Matcher-FormUrlEncodedMatcher.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Request-Matcher-FormUrlEncodedMatcher.md b/Request-Matcher-FormUrlEncodedMatcher.md index 66c1179..34e1c8c 100644 --- a/Request-Matcher-FormUrlEncodedMatcher.md +++ b/Request-Matcher-FormUrlEncodedMatcher.md @@ -1,7 +1,7 @@ ## FormUrlEncodedMatcher Can be used to check if a Form Url Encoded body contains the key-value pairs. -#### C# option +### C# option ```csharp var server = WireMockServer.Start(); server.Given( @@ -16,7 +16,7 @@ server.Given( ); ``` -#### JSON Mapping option +### JSON Mapping option ``` json { "Request": { @@ -59,3 +59,7 @@ server.Given( } } ``` + +### :memo: Notes +- You can also use `IgnoreCase` +- And you can also use wildcards like: `name=John*` \ No newline at end of file