 
 //temporary access point credentials
 
-const char * ap_ssid = "tempap";
+const char * ap_ssid = "espap";
 const char * ap_password = "1212121212";  // must be 8 characters or more
 
 // application status

  return true;
}

void httpGet(char * host,String url) {
   WiFiClient client;
   url.replace(" ", "+");
   int httpPort = 80;
   while (true) {
    if (client.connect(host, httpPort)) break;

  }
  
  Serial.println("connected ");
  Serial.println(String("Host=") + host + " path=" + path + " data=" + data);
// This will send the request to the server
  String httprequest = String("POST ") + path + " HTTP/1.1\r\n" +
               "Host: " + host + "\r\n" + 
               "Content-Type: application/x-www-form-urlencoded\r\n"
               "Connection: close\r\n" +
               "Content-Length:"+ data.length() +"\r\n\r\n" +
               data;
// Serial.println(httprequest);
  client.print(httprequest);
  delay(100);
