# Handling Form Data

**URL:** <https://forum.bubble.io/t/handling-form-data/164081>\
**Category:** APIs\
**Created:** [August 10, 2021, 9:03pm UTC](https://forum.bubble.io/t/handling-form-data/164081 "2021-08-10T21:03:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesse7](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jesse7](https://forum.bubble.io/u/jesse7)\
**Post date:** [August 10, 2021, 9:03pm UTC](https://forum.bubble.io/t/handling-form-data/164081/1 "2021-08-10T21:03:47Z")

</div>

Hi, I’ve got an API that does some off-site processing but needs the binary form-data passed in. Is there a way to get the binary data from either the image or file uploaders? It seems that I can only get the path or other values parsed off the file (like file size, etc).

I’m writing a tutorial and want to make sure I’m showing the right way to do this. My backup plan is to do a custom HTML form on the page, but that doesn’t feel very “low-code” 😄

Any advice is appreciated!

Ideally, I’d like to choose an image with a file-picker, and fire that binary off to an API of my choosing.

---

<div class="post-metadata">

**Author:** ![blurapps](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/blurapps/32/102380_2.png) [@blurapps](https://forum.bubble.io/u/blurapps)\
**Post date:** [August 11, 2021, 6:06am UTC](https://forum.bubble.io/t/handling-form-data/164081/2 "2021-08-11T06:06:03Z")

</div>

You need a way to convert a file to binary.  
A plugin like this will help: [File Converter - Binary or Base64 Plugin | Bubble](https://bubble.io/plugin/file-converter---binary-or-base64-1512728914327x998795133796483100)

There might be a free option too, you could explore the bubble plugins with base64 or binary as keywords. This should give you a way to use the file uploader’s file to generate a binary string.

To make the API call, go to the API connector in bubble and set up the API call as a POST call and mark the ‘data type’ as Form Data.

---

<div class="post-metadata">

**Author:** ![dee](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dee/32/33262_2.png) [@dee](https://forum.bubble.io/u/dee)\
**Post date:** [April 6, 2023, 2:31pm UTC](https://forum.bubble.io/t/handling-form-data/164081/3 "2023-04-06T14:31:36Z")

</div>

There is a request to the Bubble devs to include this in the API converter. Anyone interested can vote up here: [https://bubble.io/ideaboard?idea=1626356147610x526457257093234700](https://bubble.io/ideaboard?idea=1626356147610x526457257093234700)
