I am using web hook for get user details from our company's signup page.
Data posted from signup page in JSON format. Posted JSON String is below
{"FirstName":"dharampal","EmailAddress":"[email protected]","Mobile":"123456789","Company":"Instasafe","LandingPageURL":"http://instasafe.com/SignUp","LandingPageId":"11e2-b071-123141050daa"}
In receiving end, we are using PHP codeIgNiter, I tried below methods but unable to get data.
$postedData = $_POST;
print_r($postedData);
it gives : empty array
other method i tried is :
$postedData = json_decode(file_get_contents('php://input'), TRUE);
print_r($postedData);
it gives : NULL