updated get http request method