funcitoning HTTPGET