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

Minor fix to set content-type to json

parent 3937bfb1
......@@ -1059,6 +1059,7 @@ bool smf_sbi::curl_create_handle(
bool smf_sbi::curl_create_handle(
const std::string& uri, std::string& response_data, uint32_t* promise_id,
const std::string& method) {
headers = curl_slist_append(headers, "Content-Type: application/json");
// create handle for a curl request
CURL* curl = curl_easy_init();
......
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