This API cannot be controlled using the regular HTTP Virtual Output commands, because it requires calculating a sessionid.
The sessionid can be retrieved from the fritz.box, but requires calculating the MD5 hash over a challenge, username and password.
Hence, no possibility to do this wih plan HTTP Virtual Output commands.
The PicoC program I developed contains the MD5 hash calculation ported to PicoC. Which was not straightforward, due to a bug in PicoC in the rsh operator on unsigned int.
Anyway, got it to work, if somebody is interested just let me know.
Kommentar