mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-22 09:09:02 +01:00
Updated Request Matcher FormUrlEncodedMatcher (markdown)
@@ -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*`
|
||||
Reference in New Issue
Block a user