You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm pushing the logs on beeceptor.com (since request.bin is closed).
Logs are displayed correctly, and also the header, so the pushing is OK.
I'm trying to send log to our php webserver, but I don't know how to access the filename.
$_POST is empty, $_FILES is empty, file_get_contents('php://input') is empty too.
I can display the headers(in this example i changed the filename to 'gigi'):
I found a solution by myself.
As mentioned here 'php://input' is not available with enctype="multipart/form-data" (which is the one used by the function pushLogs).
This is a bit frustating, as it seems there is no way to get the body content in PHP.
I solved by dumping the log in a file (using getDeviceLogsInFile) and sending it with a standard post.
Hi,
I'm pushing the logs on beeceptor.com (since request.bin is closed).
Logs are displayed correctly, and also the header, so the pushing is OK.
I'm trying to send log to our php webserver, but I don't know how to access the filename.
$_POST is empty, $_FILES is empty, file_get_contents('php://input') is empty too.
I can display the headers(in this example i changed the filename to 'gigi'):
So my question is: how can I get the content of the logs?
Thanks
The text was updated successfully, but these errors were encountered: