     return false;
   }
   // Construct parameter string
-  sprintf(paramString,"?stallId=%s&doorOpen=%i&battV=%i",STALL_ID,doorOpen,battmV);
+  sprintf(paramString, "POST /events?stall_id=%s&door_open=%i&batt_v=%i HTTP/1.1", STALL_ID, doorOpen, battmV);
   // Make an HTTP GET request
-  client.print("GET /newdata");
-  client.print(paramString);
-  client.println(" HTTP/1.1");
+  client.println(paramString);
   client.print("Host: ");
   client.println(http_site);
   client.println("Connection: close");
   client.println();
-
   return true;
 }
 

  pinMode(LED_PIN, OUTPUT);
  digitalWrite(LED_PIN, LOW);

  for (int i = 0; i < 50; ++i)
  {
    Serial.println("in loop");
    Serial.println(i);

/////////////////////////////
// Remote Site Definitions //
/////////////////////////////
const char http_site[] = "scatdat.earth.planet.com";
const int http_port = 5000;

/////////////////////
