Skip to content

Commit e8a7df9

Browse files
author
QuickSander
committed
fix readme bug.
1 parent ed84245 commit e8a7df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ if (success) // If no HTTP parsing error or read timeout occurred.
2121
{
2222
// See interface api for other methods.
2323
const char *body( httpRequest.getBody() );
24-
// Retrieve 3rd part of the resource URL. E.g. state from: "/api/sensors/1/state"
24+
// Retrieve 4th part (index is zero based) of the resource URL.
25+
// E.g. state from: "/api/sensors/1/state"
2526
const String& restFunction( httpRequest.getResource()[3] );
2627
}
2728
```

0 commit comments

Comments
 (0)