I created banner for my users with form action="url_webhook" and button “Send”, when user click on button, my Discourse send information to webhook url, but it’s header output don’t have username who clicked a button. How to get this parametr?
<div><b>Hello!</b>
<p>Please click a button to notify Staff</p>
<button id="Send">Send</button>
</div>
When user click the button, forum send POST to external webhook: https://example.com/confirm. So I don’t see in the request headers the username who send this post (click button).
I need to get username of user who clicked on the button.
Example: when user Alex1 click button Send, my forum send POST to webhook url with this value: Alex1