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)
126126 client.print (" PUT /v2/feeds/" );
127127 client.print (FEEDID);
128128 client.println (" .csv HTTP/1.1" );
129- client.print (" Host: api.pachube.com\n " );
129+ client.println (" Host: api.pachube.com" );
130130 client.print (" X-ApiKey: " );
131131 client.println (APIKEY);
132132 client.print (" User-Agent: " );
@@ -139,7 +139,7 @@ void sendData(int thisData)
139139 client.println (thisLength);
140140
141141 // last pieces of the HTTP PUT request:
142- client.print (" Content-Type: text/csv\n " );
142+ client.println (" Content-Type: text/csv" );
143143 client.println (" Connection: close" );
144144 client.println ();
145145
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ void sendData(String thisData)
138138 client.print (" PUT /v2/feeds/" );
139139 client.print (FEEDID);
140140 client.println (" .csv HTTP/1.1" );
141- client.print (" Host: api.pachube.com\n " );
141+ client.println (" Host: api.pachube.com" );
142142 client.print (" X-ApiKey: " );
143143 client.println (APIKEY);
144144 client.print (" User-Agent: " );
@@ -147,8 +147,8 @@ void sendData(String thisData)
147147 client.println (thisData.length ());
148148
149149 // 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" );
152152 client.println ();
153153
154154 // here's the actual content of the PUT request
You can’t perform that action at this time.
0 commit comments