Upload image clipboard to Xano

Help us help you!

If you’re stuck on a problem, please include screenshots or a short video showing:

  • What you’re trying to achieve
  • How things are set up
  • The steps to reproduce the issue
  • What you’ve already tried
  • Where exactly you’re getting stuck

The more context you provide, the easier it is for the community to understand your use case, and hopefully get you the answers you need faster!

Delete the text above and type your answer in this box

Hi,
I found code here to copy/paste image clipboard.


I logged what i got, it looks ok ?

Then, in custom JS, I tried to send it to Xano endpoint
const response = await fetch(“***/upload_image”, {
method: “POST”,
body: formData
});

return formData;

I can see call in Xano :

But now (I tried many ways..), I’m unable to store this image in Xano…

Can you help me ?

Hi Patrick!

I went ahead and shared this issue you are having with out technical team, so just wait for an answer.

For next time you can ask questions directly through our support chat:

Cheers :waving_hand:

Hi @patrick_colean

Can you please explain to us why you had to use JS so we can assess whether we have a product limitation here? As an alternative to ship the binary, you can simply set the header to form-data and then in the Function Stack, you add the “Create Image from Metadata” action which will give you the vault url.

1 Like