Raspberry Pi GPIO via HTML

Not quite sure what you are looking for.
Here's a link to a flow I posted on the 'Share Your Projects' section a year or so ago.
It uses jQuery and Ajax to detect a button on a webpage and send that information to Node-RED.