change url to curl