# Web API set Header Dynamically

**URL:** https://community.thunkable.com/t/web-api-set-header-dynamically/45102
**Category:** Questions about Thunkable X
**Tags:** webapi
**Created:** [September 5, 2018, 9:19am UTC](https://community.thunkable.com/t/web-api-set-header-dynamically/45102 "2018-09-05T09:19:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![shoaibjdev](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/shoaibjdev/32/23387_2.png) [@shoaibjdev](https://community.thunkable.com/u/shoaibjdev)
#### Post date: [September 5, 2018, 9:19am UTC](https://community.thunkable.com/t/web-api-set-header-dynamically/45102/1 "2018-09-05T09:19:24Z")

</div>

Hi,  
How do we set Headers value dynamically on Web API Component?

Our APIs expect Authentication header which changes every 60 seconds, so far we have tried storing the new Authentication Header in Local Storage, but not able to figure out how to add it on Web API component before API Component Call Post method, as the component only offers set URL and Body. Please advise.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [August 11, 2020, 10:15pm UTC](https://community.thunkable.com/t/web-api-set-header-dynamically/45102/2 "2020-08-11T22:15:48Z")

</div>

A post was merged into an existing topic: [Any tips for working with the WebAPI component?](https://community.thunkable.com/t/any-tips-for-working-with-the-webapi-component/60802)

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [August 11, 2020, 10:15pm UTC](https://community.thunkable.com/t/web-api-set-header-dynamically/45102/3 "2020-08-11T22:15:48Z")

</div>


