1) Give a description of the problem
I want to pass an argument via a URL to a Piston. What is the format needed of the URL? I want to do a one-liner in Python (just using urlopen) to pass an argument for my Google Home Speaker to speak via cast-web. I am using an AI to detect the color, make and model of a car in my driveway, and would like it to speak that string from my python script.
2) What is the expected behaviour?
The argument added to the end of the URL such as:
https://graph.api.smartthings.com/api/token/HIDDEN/smartapps/installations/HIDDEN/execute/:HIDDEN/?somevariable=“value”
I don’t know how to format it. Do I have to define the argument as a variable in the Piston? Or does whatever gets passed automatically become an $arg.whatevergetsputintheURL
3) What is happening/not happening?
Nothing is happening.
**4) Post a Green Snapshot of the piston!
N/A
5) Attach logs after turning logging level to Full
N/A
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.