Empty log response at /v1/log in safari push notifications

Hi guys, i'm trying to get the log response in /v1/log/index.php file but the output is empty im using print_r($_REQUEST, true) to get the logs.


Tried to move all end points to the same file

window.safari.pushNotification.requestPermission( 
     'https:/ 'web.sub.domain?action=', 
     {}, 
     checkRemotePermission 
);


Also tried to send dummy data to /v1/log/index.php file and it recieved it correctly using curl and ajax.


Any advice would be much appreciated, thanks guys.