# Response from POST Request to external API is empty

**URL:** <https://forum.bubble.io/t/response-from-post-request-to-external-api-is-empty/304820>\
**Category:** APIs\
**Created:** [January 30, 2024, 1:19am UTC](https://forum.bubble.io/t/response-from-post-request-to-external-api-is-empty/304820 "2024-01-30T01:19:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric.luttmann](https://avatars.discourse-cdn.com/v4/letter/e/9dc877/32.png) [@eric.luttmann](https://forum.bubble.io/u/eric.luttmann)\
**Post date:** [January 30, 2024, 1:19am UTC](https://forum.bubble.io/t/response-from-post-request-to-external-api-is-empty/304820/1 "2024-01-30T01:19:44Z")

</div>

Hello,

I am trying to make a POST request to an external API using the API Connector, then show the response from the API . There’s 3 elements to the webpage:

1. An input element for the message to send to the API
2. A button to make the POST request to the external API, with the message in the input element
3. A group container to display the response from the API

I verified getting a successful response from the API using Postman, then copied all the headers/body into the API Connector, and can see in the debugger during the preview that the write body is being sent in the POST request. But when I try to display the response in the group container, it says the data to display is empty (I’ve also tried with a text element and an HTML element, same result). I’m new to bubble apps, but I appreciate any and all help!

Some screenshots showing where I am at, sorry for the lots of redacted stuff, just was being safe about what is sensitive information to share:

The 3 element setup:

 ![Screenshot 2024-01-29 at 4.36.30 PM](https://us1.discourse-cdn.com/bubble/original/3X/c/4/c4bb378a062a13dc47f2941754b85211cf9f4da0.png)

The POST request in API Connector:

 ![Screenshot 2024-01-29 at 4.35.07 PM](https://us1.discourse-cdn.com/bubble/original/3X/f/1/f163205c72780ddb61c95eb831fa87819c8e7e49.png)

The initialization result showing that the POST request gets a successful response with content:

 ![Screenshot 2024-01-29 at 4.36.08 PM](https://us1.discourse-cdn.com/bubble/original/3X/b/3/b3b3016eae23673f710ac69b2d819d8d0cf5081d.png)  
 ![Screenshot 2024-01-29 at 4.36.15 PM](https://us1.discourse-cdn.com/bubble/original/3X/4/5/45221b7f02024b3d05a041c85240c1e9fd1e8047.png)

The workflow showing the request is triggered, then display is meant to be shown in the Response text group container:

 ![Screenshot 2024-01-29 at 4.37.00 PM](https://us1.discourse-cdn.com/bubble/original/3X/f/9/f90d27e9f8cecf2bfa6efc318dbfb8a4448fca0e.png)

The Response text group container showing it should display the response’s raw body text:

 ![Screenshot 2024-01-29 at 4.37.08 PM](https://us1.discourse-cdn.com/bubble/original/3X/5/b/5bd5c20ae0d144fde93d9c128303417a74d1eda5.png)

The same as the above screenshot, but this time on the frontend:

 ![Screenshot 2024-01-29 at 4.37.38 PM](https://us1.discourse-cdn.com/bubble/original/3X/8/f/8fff73e6faf633337c6c8ee9ece62ae924133ce9.png)

The debugger steps showing the request is sent properly:

 ![Screenshot 2024-01-29 at 4.49.02 PM](https://us1.discourse-cdn.com/bubble/original/3X/7/b/7be875936c6479fbf44db9e69f77cace0ab7a52c.png)

The debugger steps showing the response is empty:

 ![Screenshot 2024-01-29 at 4.50.16 PM](https://us1.discourse-cdn.com/bubble/original/3X/4/f/4fb9f4364ee5f87182b3bbd302f7289004c96560.png)

---

<div class="post-metadata">

**Author:** ![ambroisedlg](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ambroisedlg/32/61966_2.png) [@ambroisedlg](https://forum.bubble.io/u/ambroisedlg)\
**Post date:** [January 30, 2024, 10:23am UTC](https://forum.bubble.io/t/response-from-post-request-to-external-api-is-empty/304820/2 "2024-01-30T10:23:46Z")

</div>

> [@eric.luttmann](#):
>
> The Response text group container showing it should display the response’s raw body text:
> 
> ![Screenshot 2024-01-29 at 4.37.08 PM](https://us1.discourse-cdn.com/bubble/original/3X/5/b/5bd5c20ae0d144fde93d9c128303417a74d1eda5.png)

Why are you not displaying `Result of Step 1's explanation` here?

---

<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:** [January 30, 2024, 1:04pm UTC](https://forum.bubble.io/t/response-from-post-request-to-external-api-is-empty/304820/3 "2024-01-30T13:04:02Z")

</div>

Raw text body is also only available if you set capture response headers and you also need to include error.
