3cxObject result 0_userdata.0.3cx.version Login Cookie anlegen FALSE log curl 'https://3cx.fritz.box:5001/api/login' -k -H 'authority: 3cx.fritz.box:5001' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.63' -H 'content-type: application/json;charset=UTF-8' -H 'origin: https://3cx.fritz.box:5001' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://3cx.fritz.box:5001/' -H 'accept-language: de' -b /tmp/curl-cookies.txt -c /tmp/curl-cookies.txt --data-raw '{"Username":"admin","Password":"!DeinPasswort"}' --compressed warten bis Cookie angelegt ist 100 ms Daten im JSON-Format ablegen TRUE log curl 'https://3cx.fritz.box:5001/api/SystemStatus' -k -H 'authority: 3cx.fritz.box:5001' -H 'accept: application/json, text/plain, */*' -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.63' -H 'content-type: application/json;charset=UTF-8' -H 'origin: https://3cx.fritz.box:5001' -H 'sec-fetch-site: same-origin' -H 'sec-fetch-mode: cors' -H 'sec-fetch-dest: empty' -H 'referer: https://3cx.fritz.box:5001/' -H 'accept-language: de' -b /tmp/curl-cookies.txt -c /tmp/curl-cookies.txt --compressed 3cxObject result 0_userdata.0.3cx.version FALSE Version 3cxObject log test Version 3cxObject kurz warten, dann Cookie löschen 100 ms FALSE log rm /tmp/curl-cookies.txt