curl https://truthsift.com/api/updateTopic/54-c874ab70/1/227 -d "graphName=API graph 2 edited&graphDescription=Somewhere where we belong&statementTitle=This is root node mate&statementDescription=Something comes here&workspace_id=40" -H "Content-Type: application/x-www-form-urlencoded" -X POST
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
$post = "graphName=API graph 2 edited&graphDescription=Somewhere where we belong&statementTitle=This is root node mate&statementDescription=Something comes here&workspace_id=40";
$curl = curl_init();
$url = "https://truthsift.com/api/updateTopic/54-c874ab70/1/227";
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($curl);
curl_close($curl);
var_dump($response);