Update Route.hs

Added method getpost for supporting both get and post