Page 1 of 1

HTTP Request in Z-Wave App

Posted: 14 Sep 2018 15:56
by raspi-mech

sorry, I'm very new to Z-Way App Development and want to know how to make a http POST Request from an App, for example to send sensor data via http. I thought f.e. about the following:

Code: Select all

system("curl --data 'bla' http://...")
Is this going to work? Or is there a better solution?

Thanks in advance

Re: HTTP Request in Z-Wave App

Posted: 15 Sep 2018 20:33
by PoltoS
Check for http.request in the manual or see examples in the code. This is the native style to do it