File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ void sendData(int thisData)
126
126
client.print (" PUT /v2/feeds/" );
127
127
client.print (FEEDID);
128
128
client.println (" .csv HTTP/1.1" );
129
- client.print (" Host: api.pachube.com\n " );
129
+ client.println (" Host: api.pachube.com" );
130
130
client.print (" X-ApiKey: " );
131
131
client.println (APIKEY);
132
132
client.print (" User-Agent: " );
@@ -139,7 +139,7 @@ void sendData(int thisData)
139
139
client.println (thisLength);
140
140
141
141
// last pieces of the HTTP PUT request:
142
- client.print (" Content-Type: text/csv\n " );
142
+ client.println (" Content-Type: text/csv" );
143
143
client.println (" Connection: close" );
144
144
client.println ();
145
145
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ void sendData(String thisData)
138
138
client.print (" PUT /v2/feeds/" );
139
139
client.print (FEEDID);
140
140
client.println (" .csv HTTP/1.1" );
141
- client.print (" Host: api.pachube.com\n " );
141
+ client.println (" Host: api.pachube.com" );
142
142
client.print (" X-ApiKey: " );
143
143
client.println (APIKEY);
144
144
client.print (" User-Agent: " );
@@ -147,8 +147,8 @@ void sendData(String thisData)
147
147
client.println (thisData.length ());
148
148
149
149
// last pieces of the HTTP PUT request
150
- client.print (" Content-Type: text/csv\n " );
151
- client.println (" Connection: close\n " );
150
+ client.println (" Content-Type: text/csv" );
151
+ client.println (" Connection: close" );
152
152
client.println ();
153
153
154
154
// here's the actual content of the PUT request
You can’t perform that action at this time.
0 commit comments