change all forms to POST

#409
This commit is contained in:
Shawn A
2017-08-30 10:24:04 -05:00
parent 66c653ff94
commit 6e43c1eb41
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -382,6 +382,7 @@ uint8_t WiFiManager::waitForConnectResult() {
while(millis() < timeout) {
status = WiFi.status();
// @todo detect additional states, connect happens, then dhcp then get ip, there is some delay here, make sure not to timeout if waiting on IP
if (status == WL_CONNECTED || status == WL_CONNECT_FAILED) {
return status;
}
@@ -673,7 +674,7 @@ void WiFiManager::handleWifi(boolean scan) {
*/
void WiFiManager::handleWifiSave() {
DEBUG_WM(F("WiFi save"));
//SAVE/connect here
_ssid = server->arg("s").c_str();
_pass = server->arg("p").c_str();