aboutsummaryrefslogtreecommitdiff
path: root/libraries/GSM/examples/GSMPachubeClient
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/GSM/examples/GSMPachubeClient')
-rw-r--r--libraries/GSM/examples/GSMPachubeClient/GSMPachubeClient.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/GSM/examples/GSMPachubeClient/GSMPachubeClient.ino b/libraries/GSM/examples/GSMPachubeClient/GSMPachubeClient.ino
index 445aab5..2885c9b 100644
--- a/libraries/GSM/examples/GSMPachubeClient/GSMPachubeClient.ino
+++ b/libraries/GSM/examples/GSMPachubeClient/GSMPachubeClient.ino
@@ -126,7 +126,7 @@ void sendData(int thisData)
client.print("PUT /v2/feeds/");
client.print(FEEDID);
client.println(".csv HTTP/1.1");
- client.print("Host: api.pachube.com\n");
+ client.println("Host: api.pachube.com");
client.print("X-ApiKey: ");
client.println(APIKEY);
client.print("User-Agent: ");
@@ -139,7 +139,7 @@ void sendData(int thisData)
client.println(thisLength);
// last pieces of the HTTP PUT request:
- client.print("Content-Type: text/csv\n");
+ client.println("Content-Type: text/csv");
client.println("Connection: close");
client.println();