<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WLC Webhook returns jibberish in Network Devices</title>
    <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/4058686#M177</link>
    <description>&lt;P&gt;Would you mind sharing your Webhook config on the WLC side? I'm working on something similar to import into Grafana&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2020 19:43:42 GMT</pubDate>
    <dc:creator>Eric Garnel</dc:creator>
    <dc:date>2020-04-03T19:43:42Z</dc:date>
    <item>
      <title>WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691021#M172</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've written a really simple webhook listener in PHP and I've subscribed to it in the WLC.&amp;nbsp; The WLC says it successfully publishes data to the webhook, but all I get is jibberish blank characters, special characters, etc.&amp;nbsp; 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.&amp;nbsp; When I do the same thing from the WLC however, it's unintelligable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code... It works fine with CURL, etc... but WLC returns jibberish.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;webhooklistener.php&lt;/P&gt;
&lt;PRE&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;?php&lt;BR /&gt;$file = "wlcwebhook.txt";&lt;BR /&gt;$request = file_get_contents('php://input');&lt;BR /&gt;file_put_contents($file, $request);&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;POST info from WLC;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wlc_webhook_useless.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17117i2C447C72546F841D/image-size/large?v=v2&amp;amp;px=999" role="button" title="wlc_webhook_useless.PNG" alt="wlc_webhook_useless.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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?&amp;nbsp; Or is it bust and it really is just posting crap?&amp;nbsp; Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using a vWLC on v8.8.100.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rich&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 18:05:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691021#M172</guid>
      <dc:creator>RichardAtkin</dc:creator>
      <dc:date>2023-05-08T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691022#M173</link>
      <description>Richard, &lt;BR /&gt;8.8.100.0 was just released to the public about 24 hours ago.  On a Saturday.  &lt;BR /&gt;Not everyone has loaded this to their controllers yet.</description>
      <pubDate>Sun, 19 Aug 2018 09:54:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691022#M173</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2018-08-19T09:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691025#M174</link>
      <description>Slackers!</description>
      <pubDate>Sun, 19 Aug 2018 10:12:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691025#M174</guid>
      <dc:creator>RichardAtkin</dc:creator>
      <dc:date>2018-08-19T10:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691034#M175</link>
      <description>&lt;P&gt;Rebooted WLC a couple more times - and it works.&amp;nbsp; 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.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Works now... JSON lovliness.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17118iABD96FD1A1D57360/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Aug 2018 10:47:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691034#M175</guid>
      <dc:creator>RichardAtkin</dc:creator>
      <dc:date>2018-08-19T10:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691062#M176</link>
      <description>&lt;P&gt;Nope - it's broken again.&amp;nbsp; Very intermittent... seems it fails more than it succeeds &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="webhook_useless.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17123i0ACC526776859C13/image-size/large?v=v2&amp;amp;px=999" role="button" title="webhook_useless.PNG" alt="webhook_useless.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Aug 2018 14:58:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/3691062#M176</guid>
      <dc:creator>RichardAtkin</dc:creator>
      <dc:date>2018-08-19T14:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: WLC Webhook returns jibberish</title>
      <link>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/4058686#M177</link>
      <description>&lt;P&gt;Would you mind sharing your Webhook config on the WLC side? I'm working on something similar to import into Grafana&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 19:43:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-devices/wlc-webhook-returns-jibberish/m-p/4058686#M177</guid>
      <dc:creator>Eric Garnel</dc:creator>
      <dc:date>2020-04-03T19:43:42Z</dc:date>
    </item>
  </channel>
</rss>

