I have to automate a script which will export the blog post written by users in PDF format. I am getting the URLs of the blog post and appending ".pdf" to it. After downloading PDF URLs using web-client(C#), we are not able to open it. It seems that file is corrupted. I am using basic authentication and passing it in headers. If we download the PDF manually, it works fine.
Using same approach web-client(C#) , we are able to download the user profile images. That is working fine.
Any input what can be the way to export the JIVE blog post as PDF using API.