fixed interface for http request