# Access Route Request Headers

**URL:** https://discuss.emberjs.com/t/access-route-request-headers/12485
**Category:** Uncategorized
**Created:** [February 22, 2017, 9:19pm UTC](https://discuss.emberjs.com/t/access-route-request-headers/12485 "2017-02-22T21:19:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![malissa](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@malissa](https://discuss.emberjs.com/u/malissa)
#### Post date: [February 22, 2017, 9:19pm UTC](https://discuss.emberjs.com/t/access-route-request-headers/12485/1 "2017-02-22T21:19:05Z")

</div>

I need to access a custom header (set by a proxy) when my ember route is hit. Typically in an expressjs app I would do it like this:

```
app.get('/', function(req, res){
  req.get('Custom-Header');
});

```

I can’t seem to find a request object in ember routes. How can I get at this information? It contains some information about the authenticated user that I want to persist across the app.

---

<div class="post-metadata">

### Author: ![alexspeller](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/alexspeller/32/14812_2.png) [@alexspeller](https://discuss.emberjs.com/u/alexspeller)
#### Post date: [February 23, 2017, 8:01am UTC](https://discuss.emberjs.com/t/access-route-request-headers/12485/2 "2017-02-23T08:01:57Z")

</div>

Ember runs on the client side. There is no way AFAIK to access the current page’s headers in javascript on the client side.
