habe folgendes Problem:
Ich möchte dies hier
Code: Alles auswählen
curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Titel","message":"Message "}}' http://192.168.0.16:3005/jsonrpc
Per SSH gehts hervorragend, aber über CUXD habe ich keinen Erfolg. Ich habe schon versucht in diesem Aufruf
Code: Alles auswählen
string command="LD_LIBRARY_PATH=/usr/local/addons/cuxd /usr/local/addons/cuxd/curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"Titel","message":"Message "}}' http://192.168.0.16:3005/jsonrpc";
dom.GetObject("CUxD.CUX2801001:1.CMD_EXEC").State(command);
Hat da jemand einen Vorschlag?
Besten Dank
Unlight