Hi,
I setup some REST endpoints for my content, and upon Publication, I need to deliver the REST output to another repository.
Has anyone done something like this?
Hippo provides instruction on adding to the post publication event, which requires a PostProcessingModule class and a configuration in the /hippo:configuration/hippo:modules.
So, here is what I've tried so far after capturing the published document:
Method 1. Build and call the document's REST URL and read the formatted custom JSON text. This works but seems weird to call the Site component from the CMS component via an HTTP call.
Method 2. Read the document's data from the node. This works too, but it produces Hippo's default JSON syntax, which I can't use.
Is there a better option?
Thank you all in advance!