replaced get request to httpclient only