# I need help? New to WeWeb

**URL:** <https://community.weweb.io/t/i-need-help-new-to-weweb/4426>\
**Category:** Ask us anything\
**Created:** [September 18, 2023, 6:30pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426 "2023-09-18T18:30:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jatin](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jatin](https://community.weweb.io/u/Jatin)\
**Post date:** [September 18, 2023, 6:30pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/1 "2023-09-18T18:30:52Z")

</div>

![Screenshot 2023-09-18 222317](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e82b834b7cea93e41cb8c1643faa9beeed2433ea.png)  
If I change it to multipart/form-data, data is empty but will still submit blank rows in database

I can’t figure it out what’s wrong with it?  
Do I have to do it in Custom JS??

Appreciate any help  
Thanks in Advance

---

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [September 19, 2023, 10:36am UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/2 "2023-09-19T10:36:22Z")

</div>

Seems like there’s an issue with what you are sending. Can you show your xano endpoint inputs via a screenshot?

---

<div class="post-metadata">

**Author:** ![Jatin](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jatin](https://community.weweb.io/u/Jatin)\
**Post date:** [September 19, 2023, 11:23am UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/3 "2023-09-19T11:23:32Z")

</div>

![Screenshot 2023-09-19 152234](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/33d4dd66b14ce8576a8c170797394edbb54bbaa9.png)

---

<div class="post-metadata">

**Author:** ![jaredgibb](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jaredgibb](https://community.weweb.io/u/jaredgibb)\
**Post date:** [September 19, 2023, 12:07pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/4 "2023-09-19T12:07:20Z")

</div>

I mean, xano side

---

<div class="post-metadata">

**Author:** ![Jatin](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jatin](https://community.weweb.io/u/Jatin)\
**Post date:** [September 19, 2023, 12:22pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/5 "2023-09-19T12:22:03Z")

</div>

![Screenshot 2023-09-19 162109](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/b9c188d45a0f6ce835089a59f6545395cec7e601.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [September 25, 2023, 4:11pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/6 "2023-09-25T16:11:32Z")

</div>

Hi @Jatin 👋

The file upload workflow action will return a string with the URL of the file. You can send this to a “text” field in Xano.

In your screenshot, it seems you are trying to send that URL to a “file resource” field in Xano.

To do this, yes, for now you’ll need some JS. We’ll add native actions soon but, in the meantime, check out [this video](https://www.youtube.com/live/Ri5mlBeUsGk?si=Rr1pjdea6xdpsRY-&t=675).

Here’s the code snippet they reference in there:

```auto
const fileObject = variables[/* File 1 - value */ 'b6336bd9-ada3-4f31-b704-48051cdafb48-value']
function fileToBase64(file, callback) {
    const reader = new FileReader();

    reader.onload = function () {
        const base64String = reader.result.split(',')[1]; // Extract the base64 data from the result
        callback(base64String);
    };

    reader.readAsDataURL(file);
}

return new Promise((resolve) => {
    fileToBase64(fileObject, function (base64String) {
    console.log(`data:${fileObject?.['type']};base64,${base64String}`)
          resolve(`data:${fileObject?.['type']};base64,${base64String}`);
    });
})

```

---

<div class="post-metadata">

**Author:** ![Jatin](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jatin](https://community.weweb.io/u/Jatin)\
**Post date:** [September 25, 2023, 8:54pm UTC](https://community.weweb.io/t/i-need-help-new-to-weweb/4426/7 "2023-09-25T20:54:42Z")

</div>

Hi, i already solved the problem but thanks
