Adding posts with media using WordPress API and Javascript library

Question

I would like to post on my WordPress blog using API.
Since I’m in a Javascript application I would do that using this language.

I have made some searches and I have found node-wpapi package, that uses WordPress XML-RPC protocol. Everything works, except posting article with media or featured image. It does create post and upload media, but it doesn’t create post with media (as described in this issue).

Do you know alternative or a better way to create posts with media and featured image with a JS library?

0
, , , , smartmouse 11 months 0 Answers 119 views 0

Leave an answer