Add --location to curl command