Reference:Configuration/General/HTTP-Client
Jump to navigation
Jump to search
There are also other versions of this article available:
Reference (this version) | Reference9 | Reference13r1
Some files that the device must access via HTTP (MoH, announcement, voicemail, etc.) may be located in a password-protected area. The different URLs (Uniform Resource Locator) with the respective user names and passwords can be stored here.
- URL: An URL, for example http://192.168.0.1/update/script-ip800.txt, pointing to a file in a password-protected directory whose commands are executed.
If the URL ends with a slash (/), for example http://192.168.0.1/update/, the device is adding the file name update-ipxxx.htm automatically, deduced from the device short name (for example update-ip800.htm).
The placeholder #h and #m can be used in the URL-String for HTTP-Clients too:
- #h - will be replaced by the device short name (for example IP800).
- #m - will be replaced by the device mac-adress (for example 00-90-33-01-02-03).
These placeholders may be used e.g. to address a device-specific directory (http://192.168.0.1/update/#h/script.txt) or to generate HTTP-GET parameters (http://192.168.0.1/update/script.php?mac=#m).
- User: The authorised user who has access to the directory.
- Password: The relevant password of the user.