WordPress.org

Forums

JSON API
Add post attachments using CURL (2 posts)

  1. riginosg
    Member
    Posted 1 year ago #

    I want to add multiple images to a post while creating the post. Could someone please help with the syntax when using CURL and create_post?

    Thanks!!

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

  2. riginosg
    Member
    Posted 1 year ago #

    I am trying to attach an image to a post using the update_post with cURL. I am creating the File Field and setting the path to the file, however the attachment is not being uploaded or attached to the post i.e. I am not seeing any additional post of type=attachment being created in the database.

    Is anyone using the update_post function to attach images to posts?

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic