Sending user uploaded file to remote backend using wix-fetch

Hi,

I’m trying to send an image that user uploaded (Visitor Uploads) to a remote server using wix-fetch and get a response with a manipulated image.

  1. How do I send a file object using wix-fetch?
  2. How do I store the response in an object?

Thanks in advance,

Please see the solution to a similar question in this thread: https://www.wix.com/corvid/forum/community-discussion/send-form-input-to-external-crm

You can also use the upload button here to load the image to your database and post method of wix-http-functions to expose your site to content for external consumption.

Thanks Sam.

The thread you shared is not working.
Could you maybe explain more how to expose database content using post?
Do you have a code sample?