diff --git a/src/http/iot/http.cpp b/src/http/iot/http.cpp index e38bcbae..11effd5f 100644 --- a/src/http/iot/http.cpp +++ b/src/http/iot/http.cpp @@ -43,7 +43,6 @@ class PlatformHTTP : public AbstractHTTP delay(1000); httpClient.addHeader("Content-Type", "application/json"); httpClient.addHeader("API-Version", "2"); - httpClient.addHeader("Accept", "application/vnd.ark.core-api.v2+json"); httpClient.begin(request); code = httpClient.GET(); count++; diff --git a/src/http/os/http.cpp b/src/http/os/http.cpp index 617858d4..e4e946e3 100644 --- a/src/http/os/http.cpp +++ b/src/http/os/http.cpp @@ -41,7 +41,6 @@ class PlatformHTTP : public AbstractHTTP curl_slist *header_list = nullptr; header_list = curl_slist_append(header_list, "Content-Type: application/json"); header_list = curl_slist_append(header_list, "API-Version: 2"); - header_list = curl_slist_append(header_list, "Accept: application/vnd.ark.core-api.v2+json"); curl_easy_setopt(curl, CURLOPT_HTTPHEADER, header_list); /* skip https verification */