Webserver plugin: put something in payload?

Questions and comments specific to a particular plugin should go here.
Post Reply
V_J
Experienced User
Posts: 237
Joined: Tue Mar 04, 2014 9:00 am

Webserver plugin: put something in payload?

Post by V_J » Fri May 08, 2020 4:00 pm

Hello,

Small question... Is it possible to put something in the payload on an url?

I can post to the website something like this:

Code: Select all

http://192.168.2.60/control.html?test=8
which triggers an event

Code: Select all

HTTP.test=8 []
Is there a way to get e.g the value 8 in the payload from some formatting in the URL?
(not an issue if not, I can always parse to get the value...)

Thanks!

User avatar
Sem;colon
Plugin Developer
Posts: 732
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: Webserver plugin: put something in payload?

Post by Sem;colon » Fri May 08, 2020 5:56 pm

Hi Jörg,

try this:

Code: Select all

http://192.168.2.60/control.html?test&8
:wink:
If you like my work, Image me a drink :wink:

V_J
Experienced User
Posts: 237
Joined: Tue Mar 04, 2014 9:00 am

Re: Webserver plugin: put something in payload?

Post by V_J » Fri May 08, 2020 7:54 pm

What was I thinking... :oops: :roll: :?

Thanks! :)

Post Reply