David Docampo / Mbed OS TemperatureAlarm

Dependencies:   MbedJSONValue mbed-http HTS221 IoTKit

Revision:
1:06af85d78aa1
Parent:
0:6c6307c24f92
Child:
2:a91d74f48f9a
--- a/main.cpp	Fri Dec 18 19:42:47 2020 +0000
+++ b/main.cpp	Fri Dec 18 19:47:26 2020 +0000
@@ -6,17 +6,15 @@
 #include "HTS221Sensor.h"
 #include "MbedJSONValue.h"
 #include "OLEDDisplay.h"
-#include "Credentials.h"
-#include <string>
 
 // Name of the Device shown on Website
 char* DeviceName = "YOUR_DEVICE_NAME";
 
 // API Token
-string token = "Bearer ENTER_TOKEN_HERE";
+char* token = "Bearer ENTER_TOKEN_HERE";
 
 // Route to submit Temp
-char* ApiRoute = "https://alarm.davidlab.ch/api/temperature";
+char* ApiRoute = "HTTPS_API_ENDPOINT";
 
 // Trusted Root Certs
 const char* DST_ROOT_CA_X3 = "-----BEGIN CERTIFICATE-----\n"