Add Ranking Parameter To a Topic
Category: Graphs
curl https://truthsift.com/api/addRankingParameter/54-c874ab70/1/29 -d "name=From API test" -H "Content-Type: application/x-www-form-urlencoded" -X POST
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
$post = "name=From API test";
$curl = curl_init();
$url = "https://truthsift.com/api/addRankingParameter/54-c874ab70/1/29";
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);