Commit a76e4b2e authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen
Browse files

Fix Heartbeart request-related issue to work with NRF

parent 30cf53be
......@@ -795,8 +795,8 @@ void smf_n11::update_nf_instance(
CURLcode res = {};
struct curl_slist* headers = nullptr;
// headers = curl_slist_append(headers, "charsets: utf-8");
headers =
curl_slist_append(headers, "content-type: application/json-patch+json");
headers = curl_slist_append(
headers, "content-type: application/json"); // TODO: json-patch+json
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl, CURLOPT_HTTPGET, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment