Send URL params to a URL variable


#1

1) Give a description of the problem
On my tablet I use MacroDroid webhooks to receive HTTP GET requests from WebCore. In WebCore I have created a string variable that stores my long MacroDroid DeviceID URL so that I don’t have to type the URL in each trigger event. The problem is I don’t know how to add a URL param to the variable in a piston.

Variable:
tabletdeviceid = “https://trigger.macrodroid.com/(long_device_id)

2) What is the expected behaviour?
I want to add params to the end of the URL so that MacroDroid knows what event is triggering.

tabletdeviceid/param

How do I accomplish this task in a piston? Do I use an expression? What is the format?

3) What is happening/not happening?
(PUT YOUR INFO HERE)

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)


#2

Something like this…

the receiving end will get something like this…

image


#3

Thanks for the response, but it looks like I figured out the expression I need.

(tabletdeviceid)‘event’

That is successfully sending the entire URL to MacroDroid.