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

Retrieve webhook data

Abehssera Yohan April 9, 2017

Hello,

I set up webhook on a list in Trello. The callback is a php script that does this when the method is POST : 

file_put_contents("actions/".time(), var_dump($_POST));

Any file created like that doesn't contain anything. What am I doing wrong ?

1 answer

1 accepted

0 votes
Answer accepted
Abehssera Yohan April 9, 2017

I can't find where to delete this, but the solution I just found is to do :

file_put_contents("actions/".time(), file_get_contents("php://input"));

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events