(*)use libcurl to handle fetion request