Given your code there, if you change the ignore button to type="submit" , then it will do what you want.
In POST you will see the following:
// if Confirm clicked: REQUESTID -> requestId BYID -> byId TOID -> toId respond -> Confirm // if Ignore clicked: REQUESTID -> requestId BYID -> byId TOID -> toId respond -> Ignore
source share