On Wed, Sep 7, 2016 at 4:30 AM, Jochen Schalanda <[email protected]> wrote:
> You could also try to use netcat or Wireshark to record the request the
> HTTP Alarm Callback is sending.
>
Great idea. Now I see the problem. That POST is of a JSON blob - it's not a
normal "web form". That's why I can't find any POST variables - there
aren't any.
So now I'm using the following to get me an array of field->values - works
fine :-)
$json = file_get_contents('php://input');
$obj = json_decode($json);
--
Cheers
Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/CAFChrgJpZvvPHr6MYYbGy7THgMb3m38QFx1GCfd0Mp%3DJAM9%3DkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.