[medium] add action POSTing support to the generator