Groups
Groups
Sign in
Groups
Groups
Fat-Free Framework
Conversations
Labels
About
Send feedback
Help
Equivalent to file_get_contents('php://input')
429 views
Skip to first unread message
lbj
unread,
Jun 22, 2016, 5:34:55 PM
6/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fat-Free Framework
Hi
I am getting a json POST from a Trello webhook. I decode it like this :
$data = json_decode(file_get_contents('php://input'), true);
My first thought was to replace file_get_contents('php://input') with
$f3->get('POST') but this returns an empty result. Is there a f3
equivalent ?
larsbrandi
bcosca
unread,
Jun 22, 2016, 5:52:45 PM
6/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fat-Free Framework
$data=$f3->get('BODY');
Reply all
Reply to author
Forward
0 new messages