readme edit: add missing request reference

This commit is contained in:
Me No Dev 2016-02-01 00:24:51 +02:00
parent c3a6cc8f1d
commit 085c280e6a
1 changed files with 3 additions and 3 deletions

View File

@ -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);
```