Switch to curl for the REST call.