beautypg.com

System logs – ABUS TVIP40000 User Manual

Page 327

background image

327

Delete

Remove an account from server. When using this method,

“username” field is necessary, and others are ignored.

edit

Modify the account password and privilege. When using this method,

“username” field is necessary, and other fields are

optional. If not specified, it will keep original settings.

username

The name of user to add, delete or edit

userpass

The password of new user to add or that of old user to modify.

The default value is an empty string.

privilege

The privilege of user to add or to modify.

viewer

viewer’s privilege

operator

operator’s privilege

admin

administrator’s privilege

return

Redirect to the page after the parameter is assigned.

The can be a full URL path or relative path according to

the current path. If you omit this parameter,

it will redirect to an empty page.



System logs

Note: This request require administrator privilege

Method: GET/POST


Syntax:

http://<servername>/cgi-bin/admin/syslog.cgi

Server will return the up-to-date system log.


Return:

HTTP/1.0 200 OK\r\n

Content-Type: text/plain\r\n

Content-Length: \r\n

\r\n

\r\n