allow setting of http request method