diff --git a/Stubbing-and-Request-Matching.md b/Stubbing-and-Request-Matching.md index 01238d6..b02882c 100644 --- a/Stubbing-and-Request-Matching.md +++ b/Stubbing-and-Request-Matching.md @@ -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.[]` - URL path segment (zero indexed) e.g. request.path.[2] +* `request.PathSegments.[]` - URL path segment (zero indexed) e.g. request.PathSegments.[2] * `request.query.`- First value of a query parameter e.g. request.query.search * `request.query..[]`- nth value of a query parameter (zero indexed) e.g. request.query.search.[5] * `request.headers.` - First value of a request header e.g. request.headers.X-Request-Id