How to use the CDS API with curl