You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am working on a project where i use SAP CPI to get Confluence API result and send it to a third party system.
For search and content id retrieve result are working fine.
Now i need to retrieve a full html page content and the attachment retrieve from Confluence and send the 3rd part the HTML payload that they can include in an IFrame.
I get the html content and the attachment urls by the urls below.
I use the confluence token to connect the Confluence API in SAP CPI.
My question are:
1. Is it possible to get the HTML payload through the API with the attachment and send it to the 3rd party with as it shown in confluence.
2. Is the only token from confluence is enough to do this?
3. Do it have to download the attachment is another location?
4. Any Groovy script to achieve this target?
Thanks in advance for any useful response.