Add Shared Member To a Topic
Category: Graphs
curl https://truthsift.com/api/addPersonToSharing/54-c874ab70/1/29 -d "email=sengupta_amit@hotmail.com&view=yes&edit=yes" -H "Content-Type: application/x-www-form-urlencoded" -X POST
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
$post = "email=sengupta_amit@hotmail.com&view=yes&edit=yes";
$curl = curl_init();
$url = "https://truthsift.com/api/addPersonToSharing/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);