We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed84245 commit e8a7df9Copy full SHA for e8a7df9
README.md
@@ -21,7 +21,8 @@ if (success) // If no HTTP parsing error or read timeout occurred.
21
{
22
// See interface api for other methods.
23
const char *body( httpRequest.getBody() );
24
- // Retrieve 3rd part of the resource URL. E.g. state from: "/api/sensors/1/state"
+ // Retrieve 4th part (index is zero based) of the resource URL.
25
+ // E.g. state from: "/api/sensors/1/state"
26
const String& restFunction( httpRequest.getResource()[3] );
27
}
28
```
0 commit comments