I don't like that you invoke post request handling and if it returns false then you try to handle it like get. Check what type of request you are dealing with and invoke the proper handler.