WordPress.org

Forums

JSON API
How to attach image as featured image when creating a post (1 post)

  1. Libin
    Member
    Posted 3 years ago #

    Hi, I'm a newbie to JSON and I am trying to create a post with an image to attach as featured image.

    My url to create post:

    http://www.example.com/api/create_post/?nonce=eea4bb4ce5&status=publish&title=Test&content=test%20content&categories=animals

    Now I need to attach an image from the phone gallery to this url. How can I do this?

    http://wordpress.org/extend/plugins/json-api/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JSON API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic