I’m using the WordPress Rest API to upload a post but I don’t understand the format of the body parameter. It seems to accept HTML but I’d like it to accept .docx format. Is that possible?
I’m using the WordPress Rest API to upload a post but I don’t understand the format of the body parameter. It seems to accept HTML but I’d like it to accept .docx format. Is that possible?
2
Answers
Found out I can use the pandoc package to covert .docx to .HTML.
Thanks.
No, not with the standard API.
You or somebody, could create a plugin to do this conversion as part of the upload process.