switched over to curlrequest to fetch desired url