curl https://truthsift.com/api/changeMyPwd/54-c874ab70 -d "old_pwd=potato&new_pwd=tomato" -H "Content-Type: application/x-www-form-urlencoded" -X POST
error_reporting(E_ALL ^ E_WARNING ^ E_NOTICE ^ E_DEPRECATED);
$post = "old_pwd=potato&new_pwd=tomato";
$curl = curl_init();
$url = " https://truthsift.com/api/changeMyPwd/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);