Hello,
i'm using this package "https://github.com/cdaguerre/php-trello-api" to create webhooks and it's working successfully
but i can retrieve the data i try to use
//first
$json = file_get_contents('php://input');
$action = json_decode($json, true);
\Storage::put('test.txt', $action);
//second
$client = new Client();
$client->authenticate('my api key', 'my token', Client::AUTH_URL_CLIENT_ID);
$service = new Service($client);
// Check if the current request was made by a Trello webhook
// This will dispatch any Trello event to listeners defined above
//$service->handleWebhook();
\Storage::put('test2.txt', $service->handleWebhook());
but i don't get any data
Hi Basem,
Crystal from Trello Support here!
Really sorry to hear that you're having trouble with the API. Can you please write in to us directly? Our development can take a closer look this way so we can find out what may be going on. https://trello.com/contact Thanks so much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.