# Upload a PDF file to GCS through Xano with the File Upload component

**URL:** <https://community.weweb.io/t/upload-a-pdf-file-to-gcs-through-xano-with-the-file-upload-component/19467>\
**Category:** How do I?\
**Tags:** file-upload, xano\
**Created:** [July 31, 2025, 11:29am UTC](https://community.weweb.io/t/upload-a-pdf-file-to-gcs-through-xano-with-the-file-upload-component/19467 "2025-07-31T11:29:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoine\_caron](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@antoine\_caron](https://community.weweb.io/u/antoine_caron)\
**Post date:** [July 31, 2025, 11:29am UTC](https://community.weweb.io/t/upload-a-pdf-file-to-gcs-through-xano-with-the-file-upload-component/19467/1 "2025-07-31T11:29:10Z")

</div>

Hey,

I have tried many things now, read some doc, watched different videos from Xano or WeWeb side but i am lost.

I managed to send a “file ressource” input to my GCS bucket via Xano run test.  
But i don’t understand how to send a file ressource from WeWeb to Xano ?  
Or may be i need to send something else and work on whatever i received and modify it ?

This is what i get from the file uploader, but sending this to Xano doesn’t work directly.  
I don’t know how i need to process this for it to become a valid “file ressource” input.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a00eeda1c090cf4991c1f5c9f8f1578f59f4e7d3.png)

---

<div class="post-metadata">

**Author:** ![antoine\_caron](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@antoine\_caron](https://community.weweb.io/u/antoine_caron)\
**Post date:** [July 31, 2025, 11:41am UTC](https://community.weweb.io/t/upload-a-pdf-file-to-gcs-through-xano-with-the-file-upload-component/19467/2 "2025-07-31T11:41:53Z")

</div>

nvm i was sending it by application/json instead of multi-part/form-data.
