We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8305b94 commit 1dee23bCopy full SHA for 1dee23b
CosmClient.cpp
@@ -16,7 +16,7 @@ int CosmClient::put(CosmFeed& aFeed, const char* aApiKey)
16
int ret = http.put("api.cosm.com", path);
17
if (ret == 0)
18
{
19
- http.sendHeader("X-CosmApiKey", aApiKey);
+ http.sendHeader("X-PachubeApiKey", aApiKey);
20
21
CountingStream countingStream; // Used to work out how long that data will be
22
for (int i =kCalculateDataLength; i <= kSendData; i++)
@@ -76,7 +76,7 @@ int CosmClient::get(CosmFeed& aFeed, const char* aApiKey)
76
int ret = http.get("api.cosm.com", path);
77
78
79
80
http.endRequest();
81
82
ret = http.responseStatusCode();
0 commit comments