We'd like to make calls to GraphQL endpoint programatically from within AEM (OSGi bundles).
Can help share how to best do it?
Should we use https://github.com/adobe/aem-headless-client-java? Is this Java client designed to be used inside AEM or outside AEM?
Or what about using HTTP Client Factory in AEM? https://kiransg.com/2021/11/08/aem-invoke-api-how-to-use-http-client-factory/