I have a curl command that I am trying to run in a scene. I’ve SSHed into the Vera and run the Curl command successfully, but whenever I try to move it into a scene calling curl via the os.execute I receive the error “failed attempt to call a nil valuee[0m <0x74174520>”
[quote=“Floridagator, post:1, topic:198462”]I have a curl command that I am trying to run in a scene. I’ve SSHed into the Vera and run the Curl command successfully, but whenever I try to move it into a scene calling curl via the os.execute I receive the error “failed attempt to call a nil valuee[0m <0x74174520>”
For people in the future who come here looking for a way to execute ‘curl’ in their Vera with JSON… I was able to figure it out when I was trying to get Slack webhooks to work. This worked for me. Notice how the quotes need to be escaped in just the right way.
For people in the future who come here looking for a way to execute ‘curl’ in their Vera with JSON… I was able to figure it out when I was trying to get Slack webhooks to work. This worked for me. Notice how the quotes need to be escaped in just the right way.
Also, please don’t cross-post the same question to multiple topics. It isn’t necessary and makes the threads harder to follow for future users trying to get the same solution.