convert HTTP Method to non-Enum