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

x-trello-webhook in PHP

Need to save all headers to database , when I using

getallheaders()

in php, getting this..

 

array (
'x-trello-webhook' => '**********=',
'Content-Type' => 'application/json',
'Content-Length' => '6568',
'Host' => '******',
'Via' => '1.1 proxy3 (squid/3.5.12)',
'Cache-Control' => 'max-age=259200',
'Connection' => 'keep-alive',
)

Need to know how to get exact webhook info. base64_decode of x-trello-webhook does not worked.

1 answer

1 accepted

0 votes
Answer accepted
matt Atlassian Team Nov 26, 2019

The `x-trello-webhook` header will contain a signature of the actual webhook payload that you can use to confirm that the webhook itself is legitimate and comes from Trello.

The actual contents of the webhook itself will be as json in the POST body, not a header.

We've got some more details on how to check the signature for a webhook and what you can expect the body to look like here: https://developers.trello.com/page/webhooks

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,499 views 12 4
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