From 91e7f26f821841eb498385e27844697b5f205dda Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Wed, 28 Mar 2018 14:20:15 +0200 Subject: [PATCH] Updated Stubbing and Request Matching (markdown) --- Stubbing-and-Request-Matching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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