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?
<p>Please click a button to notify Staff</p>
It might help to take a couple steps back and say what it is you’re trying to accomplish.
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
Sorry fo rmy bad English