Zoho Sign Webhook - Receiving Response Using PHP
I'm creating a script that will receive response from Zoho Sign Webhook. I use the following condition to trigger the Webhook : greenuptown
I am able to receive the hit into the Callback URL by saving every response into the database. I'm using a simple code below :
@$server=$_SERVER;
@$post=$_POST;
@$get=$_GET;
$data = file_get_contents('php://input');
if(empty($post)){
$post="emptypost-";
}
if(empty($get)){
$get="emptyget";
}
$server=json_encode($_SERVER);
$q=mysqli_query($conn,"INSERT INTO `response` VALUES ('','".$data.$post.$get.$server."')");
if($q){
echo "success";
}else{
echo "failed".mysqli_error($conn);
}
?>
But i always get empty response using the script above. The $data, $post, or $get variable is always empty.
I tried to find the documentation on the Zoho and other question on stackoverflow but i only can get this discussion here and here. Which is not solving my problem.
Any other way to get the response from Zoho Sign Webhook using PHP?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
How to Add Users to your Organization in ZohoMail?
A better clarity so you can create other users to start using Zoho Mail. You can directly Add Users from the Control Panel to your Organization. You can invite users with the existing email address. If the person (user) already uses ZohoCRM, then you can import users from Zoho CRM. You can also import them using a .csv file. (if you are planning to add them in Bulk) In this topic, We will be discussing on how to Add and Invite users only. The Import options are self explanatory. ____________________________________________________________________________________________________________
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.