diff --git a/spec/README.md b/spec/README.md index f903bda..049623b 100644 --- a/spec/README.md +++ b/spec/README.md @@ -352,28 +352,28 @@ following keys: #### Example Keys -1. - Scenario: Request URL is `http://localhost:8080/example?q=foo&r=bar` - Key: `/request/path` - Access: Read-Only - Returned Value: `/example?q=foo&r=bar` - Comment: That would provide read-only access to the request URL path. +1. Read the request URL path. + - Scenario: Request URL is `http://localhost:8080/example?q=foo&r=bar` + - Key: `/request/path` + - Access: Read-Only + - Returned Value: `/example?q=foo&r=bar` + - Comment: That would provide read-only access to the request URL path. -2. +2. Read an specific URL parameter. Scenario: Request URL is `http://localhost:8080/example?q=foo&r=bar` Key: `/request/params/q` Access: Read-Only Returned Value: `foo` Comment: That would provide read-only access to the request URL parameter `q`. -3. +3. Obtain the `Content-Type` header of the request. Scenario: A POST request with a JSON body and the header `Content-Type` set to `application/json`. Key: `/request/headers/Content-Type` Access: Read-Only Returned Value: `application/json` Comment: That would provide read-only access to the value of the request header `Content-Type`. -4. +4. Read a field from a form. Scenario: A request generated by submitting this form: ```