[#229] API callback url

Migrated from Redmine #229 | Author: Mariam Mosinyan
Status: Resolved | Priority: High, I’m very impatient | Created: 2018-08-31


Hi

I have setup api call back url (http://localhost/raskrask_new/bookings/index.php). As I can see when I am creating booking or canceling it this url is called. Issue is I am not geting any data when this url is called.

This is my php code.

<?php file_put_contents('text.txt', json_encode($_POST), FILE_APPEND); file_put_contents('text.txt', json_encode($_GET), FILE_APPEND); file_put_contents('text.txt', json_encode($_REQUEST), FILE_APPEND); I am getting following result . [][][] Could you please help me to understand how I can get data in that php file. Regards, Mariam.

Dmytro Bondarev wrote:

Hi! Please use RAW POST data.