@gregorysinclair Just been looking t this and you need to have 'button-' proceeding your buttons name in the request.
So "/button-twisttest?event=click"
Problem I have is that the buttons don't appear in the home app, so can seem to use the events for automations.