I am using Jackson exporter to export aem page content into json. for example below aem url will give me
http:4502/content/instaffers/jcr:content/root/container.model.json
It is working as expected. Now I want to send this json response to an external webhook as part of my custom workflow. To achieve this, I am planning to do below things,
Step 1 - Get JSON response in custom workflow process step
Step 2 - Send the generated json response to external webhook
For step 1 - Do we have any OOTB java api available to get the json response and send it to an external webhook? or Do we have to use the Http client api to AEM to get a json response ? or is there any other option to get a json response ?
Also can I send the json file directly to an external webhook instead of creating physical json and give it to an external webhook(because in AEMaCS there would be challenges in creating physical files)?