I am trying to understand webhooks but I am having some major brain malfunctions and cant seem to wrap my head around this.
I have a PHP script - www.mywebsite.com/post.php
This looks for two fields; ID and INPUT, and extracts the data following these identifiers.
e.g. - …ID=…&input=…
I want to send the contents of the device variables ID and INPUT from my Electron, to the PHP script via the use of a webhook.
Can someone please point me in the right direction? I don’t have a clue how to publish this, and have the webhook send it correctly.
Any help will be greatly appreciated.