16
Authentication uses base64 encoding, generally called Basic Authentication
1
. The user name is
appended with a colon and concatenated with the password. The resulting string is encoded
with the Base64 algorithm.
Example:
User 'admin' with Password '1234'.These are concatenated into 'admin:1234' which
then gets encoded with base64. The final encoded string is “YWRtaW46MTIzNA==”.
All the requests (except for the one described in section 6.3) need the authentication
described above!
6.2.3
Protocol description
Data is passed on HTTP (GET) requests. Please note that integer variables and all other are sent
as ASCII text/strings as usual on HTTP requests.
The HTTP requests described use <address> to represent IO.XEC current IP address. The
network name (NetBIOS name) can also be used.
6.3
Device general information
The device general configuration can be obtained, retrieving the file
home.xml
from IO.XEC.
The location of the file is:
http://<address>/home.xml
No authentication is needed for this file.
Example:
<response>
<name>IOXEC</name>
<version>3.0.3LT</version>
<dhcp>1</dhcp>
<ip>192.168.1.119</ip>
<subnet>255.255.255.0</subnet>
<gateway>192.168.1.254</gateway>
<dns1>192.168.1.11</dns1>
<dns2>0.0.0.0</dns2>
<mac>00:04:A3:3A:F1:E8</mac>
<defuser>admin</defuser>
<defpassw>ioxec</defpassw>
</response>
1
Содержание IO.XEC
Страница 1: ...USER S MANUAL IO XEC ...