Upload multiple files through the wordpress REST API

  • Unknown's avatar

    How can I create a custom endpoint to upload several images to a custom post type? My idea is to create a gallery for a custom post type product that I have already created, in such a way that when I use the products endpoint, I get a property called gallery where it is an arrangement with the links of the photos, and have an endpoint where you can update the product, and send the new images

  • I don’t see any WordPress.com sites under your account here.

    What is the URL of the site you’re working with?

  • The topic ‘Upload multiple files through the wordpress REST API’ is closed to new replies.