• Resolved sackoftrout

    (@sackoftrout)


    Hi, I’m looking to import tablepress tables using the REST api. I am able to POST the table’s json data to a custom endpoint, but I’m not sure how to create a function at the endpoint to create the new table.

    Alternatively, perhaps it is possible to submit the table as a custom post type using the rest API.

    Can anyone help?

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I can’t really help here, sorry. I haven’t really looked at the REST API or at how to work with it. My assumption is that you could maybe copy code from the controller-admin_ajax.php file for saving the transmitted table.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Importing tables with REST API’ is closed to new replies.