HTTP Request in Z-Wave App

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

HTTP Request in Z-Wave App

Post by raspi-mech » 14 Sep 2018 15:56


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
Posts: 5286
Joined: 26 Jan 2011 19:36

Re: HTTP Request in Z-Wave App

Post by PoltoS » 15 Sep 2018 20:33

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

Post Reply