# Uppy, uploading additional information

**URL:** <https://community.transloadit.com/t/uppy-uploading-additional-information/14932>\
**Category:** Uppy\
**Created:** [May 24, 2019, 1:06pm UTC](https://community.transloadit.com/t/uppy-uploading-additional-information/14932 "2019-05-24T13:06:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RokasDie](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@RokasDie](https://community.transloadit.com/u/RokasDie)\
**Post date:** [May 24, 2019, 1:06pm UTC](https://community.transloadit.com/t/uppy-uploading-additional-information/14932/1 "2019-05-24T13:06:18Z")

</div>

Hello,

I have a question from design perspective. I am creating a newsletter template where user would input text and upload a photo. I am using XHRUpload and I want to upload picture together with the text to the same entry in SQL database, for this I need them to be sent together. However, uppy.upload() method can only send picture data to the endpoint. Maybe someone can help here?

Regards,  
Rokas

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/artur/32/15_2.png) [@artur](https://community.transloadit.com/u/artur)\
**Post date:** [May 24, 2019, 3:06pm UTC](https://community.transloadit.com/t/uppy-uploading-additional-information/14932/2 "2019-05-24T15:06:08Z")

</div>

Hi!

Uppy supports sending metadata with the upload, which you’ll then receive on the server: [https://uppy.io/docs/uppy/#meta](https://uppy.io/docs/uppy/#meta). So you can do something like this:

```auto
const uppy = Uppy({...}) // instantiate Uppy
...

function handleUserInputText(text) {
  uppy.setMeta({ userText: text }) // call .setMeta() to set the metadata
}

```

This metadata will be set to each file you users upload. If you want to specify metadata per individual file, it’s also possible via `uppy.setFileMeta('fileID', { userText: text })`.

We also have a UI in the Dashboard, where user can edit metadata fields: [https://uppy.io/docs/dashboard/#metaFields](https://uppy.io/docs/dashboard/#metaFields), and they are also applied per file then.

 ![](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/98d86c6472a32ee5d2ca6ca99b5fa2db36ffad93.jpeg)
