# Write token in http request function via dashboard

**URL:** <https://discourse.nodered.org/t/write-token-in-http-request-function-via-dashboard/95800>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, function-node, dashboard-2\
**Created:** [5 March 2025 10:05 UTC](https://discourse.nodered.org/t/write-token-in-http-request-function-via-dashboard/95800 "2025-03-05T10:05:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [7 March 2025 08:49 UTC](https://discourse.nodered.org/t/write-token-in-http-request-function-via-dashboard/95800/5 "2025-03-07T08:49:08Z")

</div>

`Http://mywebsiteaddress/{{toknen}}/path`

prior to http node set msg.token to the token value. Then {{token}} will be replaced by the msg.token value you have set.

This is all mentioned in the side bar nodes docs.

> When configured within the node, the URL property can contain [mustache-style](http://mustache.github.io/mustache.5.html) tags. These allow the url to be constructed using values of the incoming message. For example, if the url is set to `example.com/{{{topic}}}` , it will have the value of `msg.topic` automatically inserted. Using {{{...}}} prevents mustache from escaping characters like / & etc

if you require more help provide an example of your flow, following the instructions below.

[How to import/export a flow](https://nodered.org/docs/user-guide/editor/workspace/import-export)

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

Youn may also benifit from watching the [essentials videos](https://m.youtube.com/watch?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6&v=ksGeUD26Mw0&embeds_referring_euri=https%3A%2F%2Fnodered.org%2F&source_ve_path=OTY3MTQ&feature=emb_imp_woyt) which will give you a better understanding of node-red feature etc.

---

_[View the full topic](https://discourse.nodered.org/t/write-token-in-http-request-function-via-dashboard/95800)._
