I have a Meteor application that shares some data with a WordPress site.
How can I set up a dropzone uploader on the Meteor app that posts to the WordPress REST API?
I already have the api integrated with the Meteor app and have authentication working. I’m trying to POST to the /media endpoint on the WordPress site, but I can’t figure out how to get the file data from dropzone to post to wordpress.
I’m getting this error on the meteor server:
Error: failed [500] [{"code":"json_upload_sideload_error","message":"Sorry, this file type is not permitted for security reasons."}]