From f5a68e3ff449bbbdb983ef372b7ad30e3e947fa8 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Sun, 15 May 2016 03:49:38 +0300 Subject: [PATCH] fix some readme typos --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee96c48..640ffdc 100644 --- a/README.md +++ b/README.md @@ -99,12 +99,12 @@ if(request->hasHeader("MyHeader")){ int headers = request->headers(); int i; for(i=0;iheaderName(i).c_str(), request->header(i).c_str()); } //get specific header by name (Compatibility) if(request->hasHeader("MyHeader")){ - Serial.printf("MyHeader: %s\n", header("MyHeader").c_str()); + Serial.printf("MyHeader: %s\n", request->header("MyHeader").c_str()); } ``` @@ -138,11 +138,11 @@ if(request->hasParam("download", true, true)) //List all parameters (Compatibility) int args = request->args(); for(int i=0;iargName(i).c_str(), request->arg(i).c_str()); } //Check if parameter exists (Compatibility) -if(equest->hasArg("download")) +if(request->hasArg("download")) String arg = request->arg("download"); ```