corrected curl command