move http methods to constants