I've got an Angular front end calling a REST service to authenticate a user provided by a Fat Free server.
When I use postman I can see the parameters passed in the POST in the f3 route, so:
function authenticate(\Base $f3) {
$logger = new \Log('app-events.log');
$logger->write('authenticate called.');
$logger->write('username:' . $f3->get('POST.username'));
$logger->write('username:' . $f3->get('PARAM.username'));
will log the username.
But when I call the same service from my angular front end the parameters are empty.
My server is running version 5.6.17 and I've set always_populate_raw_post_data=-1.
I am stumped and would appreciate any insights.
Thanks Matt