add enum of http request method