# Convert Image Token to Base64 String

**URL:** https://community.homey.app/t/convert-image-token-to-base64-string/112954
**Category:** Flows
**Created:** [July 15, 2024, 11:08pm UTC](https://community.homey.app/t/convert-image-token-to-base64-string/112954 "2024-07-15T23:08:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mark\_peacock](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mark_peacock/32/79653_2.png) [@mark\_peacock](https://community.homey.app/u/mark_peacock)
#### Post date: [July 15, 2024, 11:08pm UTC](https://community.homey.app/t/convert-image-token-to-base64-string/112954/1 "2024-07-15T23:08:25Z")

</div>

I have an image token generated by a card in a flow. I am trying to POST this image to a REST API. I am using the built-in logic card to do this.

I can’t find a way to retrieve the base64 encoding of the image from the image token so that it can be included in the Logic card’s Body parameter.

Any help appreciated.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [July 15, 2024, 11:40pm UTC](https://community.homey.app/t/convert-image-token-to-base64-string/112954/2 "2024-07-15T23:40:48Z")

</div>

Hello Mark and welcome!

You can ask FTP Client app developer Arie if he might have some ideas for this; just follow this link and just post it there (hit the blue reply button below the very last post to post a question):  
[https://community.homey.app/t/app-pro-ftp-client-control-ftp-servers-through-a-directory-based-ui-in-the-homey-app-or-web-app/70876](https://community.homey.app/t/app-pro-ftp-client-control-ftp-servers-through-a-directory-based-ui-in-the-homey-app-or-web-app/70876)
