dmitryelj / RPi-P2000Receiver

P2000 paging autonomous receiver with LCD and browser access
15 stars 7 forks source link

Post data other format #6

Closed tomswinkels closed 5 years ago

tomswinkels commented 5 years ago

Hi,

The post data has some raw format "capcodes=002029568&capcodes=000120999&capcodes=000120117&type=message&timestamp=2019-02-04+22%3A14%3A48&body=A1+13117+Rit+14864+Landsmeer+Weegbreesingel+1121XZ"

But when i send it to an PHP script and will get the $_POST data than i get;

{
capcodes: "001523183",
type: "message",
body: "B1 LUMC (K2-R) SEH LUMC Ambulancehal Brugmansplein LEIDEN : 16183",
timestamp: "2019-02-04 22:18:39"
}

You see only one capcode and not an array, maybe you can fix this?

tomswinkels commented 5 years ago

I have make a pull https://github.com/dmitryelj/RPi-P2000Receiver/pull/7

dmitryelj commented 5 years ago

Merged, thanks.