http request with test