Send post data using PHP to my website


#1

Hi All,

I’m new to dreamfactory and trying to send data using POST method to my website after every successful insertion of data into a particular table, so i’ve written the script inside “mysql > mysql._table.{table_name} > [POST] mysql._table.{table_name} > mysql._table.test.post.post_process”

Below is my script:

//Lines of code
$tmsg = [
            'Message' => 'A new Todo named  was just created!',
            'Subject' => 'New Todo Created'
];
$platform['api']->post->__invoke('http://mywebsite.com/output.php',$tmsg);

//lines of code continues

In my website, i’m not receiving any data.

Kindly advise.

Thanks
-VJ