added http request method support