You are right that the example does not use ESP-IDF but there is no dependency of coreHTTP that should prevent you from using it with ESP-IDF. What are the errors that you are getting?
This seems more like a question for Espressif but if you share the errors you are getting, it will be easier to help.
Thanks.