use libcurl to send Http GET request