Aggiunto primo webservice di esempio

This commit is contained in:
loviuz 2020-06-25 15:09:18 +02:00
parent 5e9442a295
commit b35fd0761f
1 changed files with 8 additions and 0 deletions

8
ws/receiver.php Normal file
View File

@ -0,0 +1,8 @@
<?php
// Dati in arrivo dai readers
$post = file_get_contents('php://input');
$data = json_decode( $post );
// TODO: inserimento a database