Reference:Configuration/General/HTTP-Client: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(Links angepasst)
 
mNo edit summary
Line 2: Line 2:


* '''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.
* '''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).
<blockquote>
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).<br>
The placeholder #h and #m can be used in the URL-String for HTTP-Clients too:
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).
* #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).
* #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).
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).
</blockquote>
* '''User:''' The authorised user who has access to the directory.
* '''User:''' The authorised user who has access to the directory.
* '''Password:''' The relevant password of the user.
* '''Password:''' The relevant password of the user.

Revision as of 15:57, 19 March 2007

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.

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.


...go back