mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-26 02:51:04 +01:00
Updated Stubbing and Request Matching (markdown)
@@ -183,7 +183,7 @@ The model of the request is supplied to the header and body templates. The follo
|
||||
|
||||
* `request.url` - URL path and query
|
||||
* `request.path` - URL path
|
||||
* `request.path.[<n>]` - URL path segment (zero indexed) e.g. request.path.[2]
|
||||
* `request.PathSegments.[<n>]` - URL path segment (zero indexed) e.g. request.PathSegments.[2]
|
||||
* `request.query.<key>`- First value of a query parameter e.g. request.query.search
|
||||
* `request.query.<key>.[<n>]`- nth value of a query parameter (zero indexed) e.g. request.query.search.[5]
|
||||
* `request.headers.<key>` - First value of a request header e.g. request.headers.X-Request-Id
|
||||
|
||||
Reference in New Issue
Block a user