add get,post method