i have the following script from my Linux host:
Code: Select all
curl -c /tmp2/cookie.txt -X POST -i -H "Content-Type: application/hal+json" -H "Authorization: Basic BASE64USERPASS==" --insecure https://172.16.10.116/xmlapi/session/begin
curl -b /tmp2/cookie.txt -d '<Command><Dial command="True"><Number>5896</Number><Protocol>SIP</Protocol></Dial></Command>' -H "Content-Type: text/xml" -X POST --insecure https://172.16.10.116/putxml
curl -b /tmp2/cookie.txt -X POST -i --insecure https://172.16.10.116/xmlapi/session/end
can i do the same with espeasy?
Any other solution is apreciated also.
regards Matze