I've written a really simple webhook listener in PHP and I've subscribed to it in the WLC. The WLC says it successfully publishes data to the webhook, but all I get is jibberish blank characters, special characters, etc. I tested the same webhook listener with an online API tester and it works fine - receives the POST and dumps it to a text file. When I do the same thing from the WLC however, it's unintelligable.
Here's my code... It works fine with CURL, etc... but WLC returns jibberish.
$file = "wlcwebhook.txt";
$request = file_get_contents('php://input');
POST info from WLC;
It's like I need to decrypt / decode it somehow, but I can't see any mention of the WLC sending anything other than plain text - did I miss something? Or is it bust and it really is just posting crap? Any ideas?
I'm using a vWLC on v220.127.116.11
Rebooted WLC a couple more times - and it works. I tried to debug via 'Debug DX ...' on WLC too but it's not documented in the 8.8 Command Reference so a little trial and error, and it didn't reveal anything useful anyway.
Works now... JSON lovliness.