Added get and post default actions

Added a check for a get or post specfic default action method.