functional curl requests!