forked from me-no-dev/ESPAsyncWebServer
readme edit: add missing request reference
This commit is contained in:
1 parent
c3a6cc8f1d
commit
085c280e6a
1 file changed
+3
-3
@@ -108,15 +108,15 @@ for(int i=0;i<params;i++){
|
||||
}
|
||||
|
||||
//Check if GET parameter exists
|
||||
bool exists = hasParam("download");
|
||||
bool exists = request->hasParam("download");
|
||||
AsyncWebParameter* p = request->getParam("download");
|
||||
|
||||
//Check if POST (but not File) parameter exists
|
||||
bool exists = hasParam("download", true);
|
||||
bool exists = request->hasParam("download", true);
|
||||
AsyncWebParameter* p = request->getParam("download", true);
|
||||
|
||||
//Check if FILE was uploaded
|
||||
bool exists = hasParam("download", true, true);
|
||||
bool exists = request->hasParam("download", true, true);
|
||||
AsyncWebParameter* p = request->getParam("download", true, true);
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user