HTTP Request in Z-Wave App

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
raspi-mech
Posts: 3
Joined: 14 Sep 2018 15:47

HTTP Request in Z-Wave App

Post by raspi-mech »

Hi,

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
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: HTTP Request in Z-Wave App

Post by PoltoS »

Check for http.request in the manual or see examples in the code. This is the native style to do it
Post Reply