<?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 PHP for Scanning API in Wireless</title>
    <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510979#M304653</link>
    <description>&lt;P&gt;Can we use PHP for real-time/scanning API instead of Python, NodeJS etc.. Did any one tried this.? Any help or idea is really appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2019 12:14:23 GMT</pubDate>
    <dc:creator>Skackar</dc:creator>
    <dc:date>2019-05-01T12:14:23Z</dc:date>
    <item>
      <title>PHP for Scanning API</title>
      <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510979#M304653</link>
      <description>&lt;P&gt;Can we use PHP for real-time/scanning API instead of Python, NodeJS etc.. Did any one tried this.? Any help or idea is really appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 12:14:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510979#M304653</guid>
      <dc:creator>Skackar</dc:creator>
      <dc:date>2019-05-01T12:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: PHP for Scanning API</title>
      <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510980#M304654</link>
      <description>&lt;P&gt;I don't see why not. The scanning API is very simple, it just sends JSON encoded data via HTTP POST to your application. What language that application is written in doesn't really matter. At the start there's also the validation procedure but that should also be easy to implement in PHP.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 12:25:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510980#M304654</guid>
      <dc:creator>BrechtSchamp</dc:creator>
      <dc:date>2019-05-01T12:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: PHP for Scanning API</title>
      <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510981#M304655</link>
      <description>&lt;P&gt;You mean to say for MERAKI, we are just an API which will consume, right.?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In 1st Step:&lt;/STRONG&gt; It sends the GET request to to validate the validator key using the url say: &lt;A href="http://mydomain.com/scanner.php" target="_blank" rel="nofollow noopener noreferrer"&gt;http://mydomain.com/scanner.php&lt;/A&gt; (GET)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In 2nd Step:&lt;/STRONG&gt; It sends the POST request to the same url &lt;A href="http://mydomain.com/scanner.php" target="_blank" rel="nofollow noopener noreferrer"&gt;http://mydomain.com/scanner.php&lt;/A&gt; (POST) in specific time of interval with the real-time data of the connected user.&lt;/P&gt;&lt;P&gt;Am i correct in the above interpretation.? Please confirm.!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 13:30:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510981#M304655</guid>
      <dc:creator>Skackar</dc:creator>
      <dc:date>2019-05-01T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: PHP for Scanning API</title>
      <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510982#M304656</link>
      <description>&lt;P&gt;You can code a receiver in any language you want provided it behaves the way it's expected to behave. The language to totally irrelevant. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/14423"&gt;@Skackar&lt;/A&gt; wrote:&lt;BR /&gt;&lt;P&gt;You mean to say for MERAKI, we are just an API which will consume, right.?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In 1st Step:&lt;/STRONG&gt; It sends the GET request to to validate the validator key using the url say: &lt;A href="http://mydomain.com/scanner.php" target="_blank" rel="noopener nofollow noreferrer"&gt;http://mydomain.com/scanner.php&lt;/A&gt; (GET)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In 2nd Step:&lt;/STRONG&gt; It sends the POST request to the same url &lt;A href="http://mydomain.com/scanner.php" target="_blank" rel="noopener nofollow noreferrer"&gt;http://mydomain.com/scanner.php&lt;/A&gt; (POST) in specific time of interval with the real-time data of the connected user.&lt;/P&gt;&lt;P&gt;Am i correct in the above interpretation.? Please confirm.!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yup, that's basically right. The GET is sent periodically (like every 12 hours IIRC, and also when you click that "Validate" button). The POST happens once per minute for every AP in the network that has the Scanning API enabled. &lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 14:04:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510982#M304656</guid>
      <dc:creator>jdsilva</dc:creator>
      <dc:date>2019-05-01T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHP for Scanning API</title>
      <link>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510983#M304657</link>
      <description>&lt;P&gt;Thanks for your response. Tried it with PHP, but trying to Validate the URL from the dashboard its giving the below error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did not match validator: &lt;A href="http://subdomain.mydomain.com/scanner.php" target="_blank" rel="noopener nofollow noreferrer"&gt;http://subdomain.mydomain.com/scanner.php&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Am i doing something wrong.? Below is the PHP code i am using to validate it through GET request.&lt;/P&gt;&lt;P&gt;if(strcasecmp($_SERVER['REQUEST_METHOD'], 'GET') == 0) {&lt;/P&gt;&lt;P&gt;$q = new Queries();&lt;BR /&gt;    $data_array = array('status_text' =&amp;gt; "Data returned with validator key: $validator", 'rtype' =&amp;gt;         $_SERVER['REQUEST_METHOD']);&lt;BR /&gt;$q-&amp;gt;save_scan_data($data_array);&lt;BR /&gt;return $validator;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;When clicking to validate from dashboard, get request coming to my server as scan log is saving at back-end.&lt;/P&gt;&lt;P&gt;Just have a look and let me know if you have any idea in it.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 06:39:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/wireless/php-for-scanning-api/m-p/5510983#M304657</guid>
      <dc:creator>Skackar</dc:creator>
      <dc:date>2019-05-02T06:39:51Z</dc:date>
    </item>
  </channel>
</rss>

