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 85648f7 commit ed84245Copy full SHA for ed84245
README.md
@@ -21,8 +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 2nd part of the resource URL. E.g. state from: "/api/sensors/1/state"
25
- const String& restFunction( httpRequest.getResource()[1] );
+ // Retrieve 3rd part of the resource URL. E.g. state from: "/api/sensors/1/state"
+ const String& restFunction( httpRequest.getResource()[3] );
26
}
27
```
28
0 commit comments