Updated Request Matcher FormUrlEncodedMatcher (markdown)

Stef Heyenrath
2024-07-27 14:40:13 +02:00
parent d320c373c7
commit 26240cf0c1

@@ -1,7 +1,7 @@
## FormUrlEncodedMatcher ## FormUrlEncodedMatcher
Can be used to check if a Form Url Encoded body contains the key-value pairs. Can be used to check if a Form Url Encoded body contains the key-value pairs.
#### C# option ### C# option
```csharp ```csharp
var server = WireMockServer.Start(); var server = WireMockServer.Start();
server.Given( server.Given(
@@ -16,7 +16,7 @@ server.Given(
); );
``` ```
#### JSON Mapping option ### JSON Mapping option
``` json ``` json
{ {
"Request": { "Request": {
@@ -59,3 +59,7 @@ server.Given(
} }
} }
``` ```
### :memo: Notes
- You can also use `IgnoreCase`
- And you can also use wildcards like: `name=John*`