renamed curl to rest