# is public url static?

**URL:** <https://forums.balena.io/t/is-public-url-static/82990>\
**Category:** balenaOS\
**Created:** [March 22, 2020, 4:00pm UTC](https://forums.balena.io/t/is-public-url-static/82990 "2020-03-22T16:00:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahesh1](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mahesh1](https://forums.balena.io/u/mahesh1)\
**Post date:** [March 22, 2020, 4:00pm UTC](https://forums.balena.io/t/is-public-url-static/82990/1 "2020-03-22T16:00:47Z")

</div>

hi, i need a predictable, static URL where i will POST data to an express server from IoT devices. URL forwarding for POST does not seem to work, so i’m stuck with hardcoding a using a randomly generated URL. what is the likelihood that this URL will change? if that happens, i’ll have to reprovision hundreds of devices.

thanks!

---

<div class="post-metadata">

**Author:** ![wwalker](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/wwalker/32/1225_2.png) [@wwalker](https://forums.balena.io/u/wwalker)\
**Post date:** [March 22, 2020, 6:59pm UTC](https://forums.balena.io/t/is-public-url-static/82990/2 "2020-03-22T18:59:22Z")

</div>

As far as I can tell, [the public device URL](https://www.balena.io/docs/learn/manage/actions/#enable-public-device-url) shouldn’t change. It is associated with the device’s UUID (unique ID), which should only change if the device is removed and re-added to your application in the balenaCloud.

In my experience, none of my public device URLs have changed.

---

<div class="post-metadata">

**Author:** ![sradevski](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sradevski/32/1609_2.png) [@sradevski](https://forums.balena.io/u/sradevski)\
**Post date:** [March 23, 2020, 8:29am UTC](https://forums.balena.io/t/is-public-url-static/82990/3 "2020-03-23T08:29:48Z")

</div>

Hey there, I just wanted to confirm what `wwalker` said is accurate, as long as you don’t reprovision the device, the URL will never change. Even if you wish to reflash the device, you can always copy the `config.json` file from the old to the new device, and that device should be recognized as the old one.

---

<div class="post-metadata">

**Author:** ![mahesh1](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mahesh1](https://forums.balena.io/u/mahesh1)\
**Post date:** [March 23, 2020, 5:27pm UTC](https://forums.balena.io/t/is-public-url-static/82990/5 "2020-03-23T17:27:51Z")

</div>

awesome. please close this issue (i don’t seem to have a way to do it).
