My php script returns the json response to the browser correctly, but it doesn’t return anything to Postman and to the Kotlin app. Why? Thank you. Could someone please help me?
Here is the php code:
......
$jsonData = ['status' => $status,'message' => $message, 'more' => $more];
header('Content-type: application/json');
echo(json_encode($jsonData));
exit();