Forum Discussion
Hi cblown,
I went through the links and their relevant documentation you sent me.
Basically I have a Word document (docx) that I need to POST to the specific company community. The stuff I was going through talk about JSON files.
I also googled "how to" perform my case using Python script and I cam across this link https://khoros.readthedocs.io/en/latest/ .
Unfortunately so far I could not get a clear picture as to how to use the API to "upload/POST" a Word document. Am I missing something?
Thank you in advance,
Nikos
I don't think there is a way to directly post a word document (unless it is an attachment, but I don't think that's what you want). I think you would need to first convert that doc to html and then you could use the community API to create a post with that html as the body with this Create message (khoros.com)
I don't know much about it, but it looks like there are python libraries you can use to go from a word doc to html if python is what you are using.
- nzacharakis2 years agoHelper
Good morning Andrew ,
Thank you for your informative reply. I think you have a good point because so far I have not found anything that describes how to post a Word doc. I will go ahead and try your solution and I hope I get a break through.
Keep you updated.
Thank you,
Nikos
Related Content
- 2 months ago
- 5 months ago