support for method post in VanillaGateway and JQueryGateway