Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

i can retrieve data from the callbackurl

basemrayleigh October 27, 2018

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 

1 answer

0 votes
Crystal Davis
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2018

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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events