Closed tomswinkels closed 5 years ago
Fix for post format from:
type=message×tamp=2019-02-04+22%3A30%3A03&body=A1+5261LV+%3A+Booglaan+Vught+Obj%3A+bij+reinier+van+arkel+Rit%3A+14468&capcodes=001120105
to:
Array ( [payload] => { "body": "A1 13106 Rit 14876 Diemen Albert Loethoelistraat 1111KW", "capcodes": [ "002029568", "000120999", "000120106" ], "groupid": "07.093", "is_posted": false, "priority": 1, "receivers": "002029568, 000120999, 000120106", "sender": 3, "timereceived": 1549323037.1240869, "timestamp": "2019-02-04 23:30:37" } )
With PHP now you can use:
<?PHP $data = json_decode($_POST['payload']);
Fix for post format from:
type=message×tamp=2019-02-04+22%3A30%3A03&body=A1+5261LV+%3A+Booglaan+Vught+Obj%3A+bij+reinier+van+arkel+Rit%3A+14468&capcodes=001120105
to:
With PHP now you can use: