readme edit: add missing request reference
This commit is contained in:
parent
c3a6cc8f1d
commit
085c280e6a
|
@ -108,15 +108,15 @@ for(int i=0;i<params;i++){
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if GET parameter exists
|
//Check if GET parameter exists
|
||||||
bool exists = hasParam("download");
|
bool exists = request->hasParam("download");
|
||||||
AsyncWebParameter* p = request->getParam("download");
|
AsyncWebParameter* p = request->getParam("download");
|
||||||
|
|
||||||
//Check if POST (but not File) parameter exists
|
//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);
|
AsyncWebParameter* p = request->getParam("download", true);
|
||||||
|
|
||||||
//Check if FILE was uploaded
|
//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);
|
AsyncWebParameter* p = request->getParam("download", true, true);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue