diff --git a/README.md b/README.md index 7f963ea..e6af613 100644 --- a/README.md +++ b/README.md @@ -108,15 +108,15 @@ for(int i=0;ihasParam("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); ```