 
 // this method makes a HTTP connection to the server:
 void httpRequest(int sensor, int value) {
+  Serial.println("sending...");
+    
   // close any connection before send a new request.
   // This will free the socket on the WiFi shield
   sendClient.stop();

    sendClient.println("Connection: close");
    sendClient.println();

    //sendClient.print("Content-Length: ");
    //sendClient.println(postData.length());
    //sendClient.println();
    //sendClient.println(postData);
    
    sendClient.println();

    // note the time that the connection was made:
    lastConnectionTime = millis();
  }
  else {
    // if you couldn't make a connection:
    Serial.println("connection failed");
  }
}


  String path = "/coleta/" + String(sensor) + "/" + String(value);

  // if there's a successful connection:
  int connected = sendClient.connect(serverName, 80);
  if (connected) {
    Serial.println("connected");
    // send the HTTP PUT request:
    sendClient.println("GET " + path + " HTTP/1.1");
    sendClient.println("Host: smart-trash.app.hackinpoa.tsuru.io");
