18938 curl is hard to use correctly