correct the curl command