I'm trying to write a simple Groovy script to communicate with our Confluence server instance and get done automatically the export to pdf o a page whose ID number is known.
I already communicate with Confluence this way to get information about pages, etc... but for this particular task I'm not getting to a solution.
How to get the pdf exported and downloaded to my local download folder, which is what normally happens when I click on the pdf export button?
In the picture the code I'm trying to use and the response I get from the call.
Thanks, ciao, Andrea
@Andrea Boerio here is a previous community post on this using other languages but the web service call will be the same. https://community.atlassian.com/t5/Confluence-questions/Export-page-to-pdf-using-rest-call/qaq-p/1085529
Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events