add get|post|put|delete method