Add images to a post through REST API
-
Hi there,
Currently i’m working with the REST api of wordpress and had a difficult time with creating a new post with images. following the end point.
https://public-api.wordpress.com/rest/v1/sites/$site/posts/newCan any one help me in this matter.I want to know how we can add images to posts.it’s bit urgent.
The blog I need help with is: (visible only to logged in users)
-
There has been a change to the post editor interface at https://wordpress.com/post/ and Staff are recommending that we bypass the New Dash in favor of posting directly on our sites at Dashboard > Posts > Add New. https://en.forums.wordpress.com/topic/where-did-the-add-media-button-go?replies=2#post-1927520
For image uploading please note the Staff response here https://en.forums.wordpress.com/topic/why-is-there-now-only-small-pictures-in-the-post-can-i-get-them-big-again?replies=3#post-1927594
There will be further new iterations of the post editor at https://wordpress.com/post/ and that is why the advice is to go to Dashboard > Post > Add New and use the full post editor there.
For inserting images see http://en.support.wordpress.com/images/adding-images-to-posts-or-pages/
For image editing see here http://en.support.wordpress.com/images/image-editing/
- The topic ‘Add images to a post through REST API’ is closed to new replies.