Change approve behaviour from a get to a post request