• I’ve been experimenting with the REST API, and successfully managed to create text posts as well as add a featured media to the post. However, I’m unable to add images to the body of the post and I’m not sure how to place them inside the body either. Is there a way to format the content argument in markdown for example or how can I work around this?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The post would need to have appropriate <img> tags as part of the post’s HTML content. The image would either need to already be in the media library, or it’d need to be uploaded separately through its own API request.

Viewing 1 replies (of 1 total)
  • The topic ‘create post with images inside body of content using REST API’ is closed to new replies.