Page 1 of 1

openURL post to Notification for AndroidTV

Posted: Monday 19 September 2022 20:25
by DewGew
Hi,
My issue is if I use this code to notify my android TV does not show the text:

Code: Select all

domoticz.openURL({
	url = 'http://192.168.0.100:7676'
	method = 'POST',
	callback = 'notyAndroidTv',
	postData = {
		['msg']= 'Test_message', -- Message to show
	},
})
But if I use this code it shows the text:

Code: Select all

domoticz.openURL({
	url = 'http://192.168.0.100:7676?msg=Test_message'
	method = 'POST',
	callback = 'notyAndroidTv',
	postData = {
		-- ['msg']= 'Test_message', -- Message to show
	},
})
Any Ideas?

Re: openURL post to Notification for AndroidTV

Posted: Monday 19 September 2022 23:51
by waltervl
What is the working url string if you use curl with POST ?