rcurl to get url