How to upload an image to a new post via API

I am creating a new discussion post via the API. I format the post with HTML. If I want an image, I have been simply using an img tag and linking to an image online. However, it would be better if the image was uploaded into Bettermode and served up natively. How can this be done?

1
3 replies