It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

i can retrieve data from the callbackurl

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

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
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,520 views 13 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you