Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
Update example.php
Browse files Browse the repository at this point in the history
Added missing http(s)
  • Loading branch information
ITJamie committed Nov 27, 2013
1 parent e9e04d6 commit 8d2d458
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

$inputarray['requestpage'] = '/brmacs.cgi?brmacs=y';
$inputarray['expectedpage'] = 'https://192.168.1.2:8443/brmacs.cgi?brmacs=y';
$inputarray['loginurl'] = 'http://192.168.1.2:8443/login.cgi';
$inputarray['loginurl'] = 'https://192.168.1.2:8443/login.cgi';


// Here you can request extra pages once the first page has been logged into. This is not required.
$extrapages[0]['page-name'] = 'status';
$extrapages[0]['page-url'] = 'http://192.168.1.2:8443/status.cgi?';
$extrapages[0]['page-url'] = 'https://192.168.1.2:8443/status.cgi?';

$extrapages[1]['page-name'] = 'stations';
$extrapages[1]['page-url'] = 'http://192.168.1.2:8443/sta.cgi?';
$extrapages[1]['page-url'] = 'https://192.168.1.2:8443/sta.cgi?';


$reply = get_pages_from_ubnt_airos_device($inputarray, $extrapages);
Expand Down

0 comments on commit 8d2d458

Please sign in to comment.