# Api connector dynamic values

**URL:** <https://forum.bubble.io/t/api-connector-dynamic-values/24030>\
**Category:** APIs\
**Created:** [February 4, 2018, 6:33am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030 "2018-02-04T06:33:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [February 4, 2018, 6:33am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/1 "2018-02-04T06:33:11Z")

</div>

Hello bubblers  
I have been trying to set up a post request with dynamic values within the body from this api url

> **[Data-uri-to-img-url](http://aminariana.github.io/data-uri-to-img-url/)**
>
> This service takes a Base64 encoded DataURI via a POST request, and responds with a URL representing the decoded image.

 ![Screenshot_2018-02-04-07-21-57](https://us1.discourse-cdn.com/bubble/original/3X/f/5/f59f5dc4eddcc8ff2a53f595c50ff8211c3d5f5e.png)  
but whatever combination of try returns the value field empty  
 ![Screenshot_2018-02-04-07-21-57](https://us1.discourse-cdn.com/bubble/original/3X/f/5/f59f5dc4eddcc8ff2a53f595c50ff8211c3d5f5e.png)  
 ![Screenshot_2018-02-04-07-24-36](https://us1.discourse-cdn.com/bubble/original/3X/6/e/6e6551aaf923341ec7cc5e1634092589285f7349.png)

---

<div class="post-metadata">

**Author:** ![scott3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scott3/32/18530_2.png) [@scott3](https://forum.bubble.io/u/scott3)\
**Post date:** [February 4, 2018, 7:53am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/2 "2018-02-04T07:53:39Z")

</div>

Few issues:

1. see screenshot for the proper formatting of the JSON, the “\< \>” don’t go in the key, they go in the value. For instance:  
{  
“key” : “”  
}  
and don’t forget the quotation marks before and after 🙂  
 ![email](https://us1.discourse-cdn.com/bubble/original/3X/d/1/d13f6cb22951506d7f1bec7bc4775b5060fa2bb6.png)
2. I don’t think your Heroku app is deployed live, which could be an issue if you’re trying to post to it. I got a 404 when trying to test.

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [February 4, 2018, 8:08am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/3 "2018-02-04T08:08:24Z")

</div>

🤔 that could be it. Thanks

---

<div class="post-metadata">

**Author:** ![scott3](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/scott3/32/18530_2.png) [@scott3](https://forum.bubble.io/u/scott3)\
**Post date:** [February 4, 2018, 8:12am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/4 "2018-02-04T08:12:11Z")

</div>

No problem, let me know if you have any other issues

---

<div class="post-metadata">

**Author:** ![alimo5dec](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@alimo5dec](https://forum.bubble.io/u/alimo5dec)\
**Post date:** [February 4, 2018, 8:13am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/5 "2018-02-04T08:13:26Z")

</div>

OK. Thanks a lot

---

<div class="post-metadata">

**Author:** ![brian.farkas](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/brian.farkas/32/158642_2.png) [@brian.farkas](https://forum.bubble.io/u/brian.farkas)\
**Post date:** [January 27, 2023, 2:24am UTC](https://forum.bubble.io/t/api-connector-dynamic-values/24030/6 "2023-01-27T02:24:37Z")

</div>

Is there anyway to use the dynamic variables for inserting the subdomain of the POST URL?
