diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-05-13 16:58:10 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-05-13 16:58:10 +0200 |
commit | b70954ea256f94afdd941e2c89a086887b496c13 (patch) | |
tree | bd9fb74f61b1351a32b8b48cef8f04863d9d6df8 /libraries/GSM/examples/GSMPachubeClientString | |
parent | c48c0f9e2cebe0e3ebda7aa5c4f9096b9586ed9e (diff) | |
parent | 7207108255a772474b322151cb0fd113e8030afe (diff) |
Merge remote-tracking branch 'arduino/ide-1.5.x' into ide-1.5.x-discovery
Diffstat (limited to 'libraries/GSM/examples/GSMPachubeClientString')
-rw-r--r-- | libraries/GSM/examples/GSMPachubeClientString/GSMPachubeClientString.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/GSM/examples/GSMPachubeClientString/GSMPachubeClientString.ino b/libraries/GSM/examples/GSMPachubeClientString/GSMPachubeClientString.ino index f28370e..9f6ea53 100644 --- a/libraries/GSM/examples/GSMPachubeClientString/GSMPachubeClientString.ino +++ b/libraries/GSM/examples/GSMPachubeClientString/GSMPachubeClientString.ino @@ -138,7 +138,7 @@ void sendData(String 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: "); @@ -147,8 +147,8 @@ void sendData(String thisData) client.println(thisData.length()); // last pieces of the HTTP PUT request - client.print("Content-Type: text/csv\n"); - client.println("Connection: close\n"); + client.println("Content-Type: text/csv"); + client.println("Connection: close"); client.println(); // here's the actual content of the PUT request |