curl is a resource