# Get value from a file to a 3rd party api

**URL:** <https://forum.wixstudio.com/t/get-value-from-a-file-to-a-3rd-party-api/7131>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [October 5, 2021, 5:12pm UTC](https://forum.wixstudio.com/t/get-value-from-a-file-to-a-3rd-party-api/7131 "2021-10-05T17:12:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuchojdpinto](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/chuchojdpinto/32/30372_2.png) [@chuchojdpinto](https://forum.wixstudio.com/u/chuchojdpinto)\
**Post date:** [October 5, 2021, 5:12pm UTC](https://forum.wixstudio.com/t/get-value-from-a-file-to-a-3rd-party-api/7131/1 "2021-10-05T17:12:15Z")

</div>

I upload a file withe the upload button but i want to get the value from the file without media manager and send it to a fecth post api (the value must be in binary or base 64)

---

<div class="post-metadata">

**Author:** ![Shan](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/shan/32/106059_2.png) [@Shan](https://forum.wixstudio.com/u/Shan)\
**Post date:** [October 5, 2021, 6:23pm UTC](https://forum.wixstudio.com/t/get-value-from-a-file-to-a-3rd-party-api/7131/2 "2021-10-05T18:23:17Z")

</div>

You cannot send the value from the file without the media manager. You need to upload the file and get a public url to convert it to buffer/base64

See comment here: [https://www.wix.com/velo/forum/main/comment/615c5e3875523600178e60a9](https://www.wix.com/velo/forum/main/comment/615c5e3875523600178e60a9)

---

<div class="post-metadata">

**Author:** ![chuchojdpinto](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/chuchojdpinto/32/30372_2.png) [@chuchojdpinto](https://forum.wixstudio.com/u/chuchojdpinto)\
**Post date:** [October 7, 2021, 12:05am UTC](https://forum.wixstudio.com/t/get-value-from-a-file-to-a-3rd-party-api/7131/3 "2021-10-07T00:05:16Z")

</div>

thanks! you really hel me a lot!
