# Http request authentication from Node Red

**URL:** <https://forums.losant.com/t/http-request-authentication-from-node-red/1358>\
**Category:** Help\
**Tags:** node-red\
**Created:** [December 19, 2018, 10:03pm UTC](https://forums.losant.com/t/http-request-authentication-from-node-red/1358 "2018-12-19T22:03:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [December 19, 2018, 10:03pm UTC](https://forums.losant.com/t/http-request-authentication-from-node-red/1358/1 "2018-12-19T22:03:18Z")

</div>

Trying to query some Losant data tables using http reqest in Node red.  
I have created an application token, but sure where to add that in Node reds http request node.

Any hints?

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [December 19, 2018, 10:07pm UTC](https://forums.losant.com/t/http-request-authentication-from-node-red/1358/2 "2018-12-19T22:07:54Z")

</div>

You authenticate Losant API requests as described in the [REST API documentation](https://docs.losant.com/rest-api/overview/#authenticating-a-request) - by providing an “Authorization” HTTP header with a value of “Bearer YOUR\_TOKEN”.

I haven’t used Node-Red in a while but [this page I found](https://cookbook.nodered.org/http/set-request-header) describes how to set HTTP headers in your request.
