curl https://truthsift.com/api/updateMyProfile/54-c874ab70 -d "firstname=Amit&lastname=Sengupta&displayname=amit amit updated&bio=this is my bio" -H "Content-Type: application/x-www-form-urlencoded" -X POST
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
$post = "firstname=Amit&lastname=Sengupta&displayname=amit amit updated&bio=this is my bio";
$curl = curl_init();
$url = "https://truthsift.com/api/updateMyProfile/54-c874ab70";
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);