# How to save an image from API call

**URL:** <https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193>\
**Category:** Need help\
**Created:** [July 29, 2024, 11:17pm UTC](https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193 "2024-07-29T23:17:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dualpixel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dualpixel/32/160375_2.png) [@dualpixel](https://forum.bubble.io/u/dualpixel)\
**Post date:** [July 29, 2024, 11:17pm UTC](https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193/1 "2024-07-29T23:17:54Z")

</div>

Hi, People

I have an app that process images using an external service.  
See the image attached that the return is the image direct.

I am not getting to save this image that return in BD in Bubble.  
Anyone knows how to save the image when the image is the return directly.

See the call is image type and I changed the body (return) to image also.

I thank for any tip

 ![url-img-2](https://us1.discourse-cdn.com/bubble/original/3X/4/9/496598ec354fc4cc1cea51af347b1f264f74cbe3.jpeg)  
 ![url-img](https://us1.discourse-cdn.com/bubble/original/3X/7/c/7cd0aa7cda24d0e295d3910a89985cb5884d9719.jpeg)  
 ![url-img-3](https://us1.discourse-cdn.com/bubble/original/3X/f/e/fe69abd9e0ebf07bd1c8152d9c47ab5129043a01.jpeg)

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [July 30, 2024, 12:02am UTC](https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193/3 "2024-07-30T00:02:04Z")

</div>

The response is an image and this is automatically saved to Bubble storage. Just set an image field with the API request body  
According tomyour screenshot, settings are fine.

Look the file in file manager to validate saved file from API response

---

<div class="post-metadata">

**Author:** ![dualpixel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dualpixel/32/160375_2.png) [@dualpixel](https://forum.bubble.io/u/dualpixel)\
**Post date:** [July 31, 2024, 1:11am UTC](https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193/4 "2024-07-31T01:11:56Z")

</div>

Hi, Thnaks a lot for your replay

But I think the API return have a problem, but I will follow this steps

All the best

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [October 7, 2024, 11:18pm UTC](https://forum.bubble.io/t/how-to-save-an-image-from-api-call/333193/5 "2024-10-07T23:18:18Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
