# HTTP-GET header problem

**URL:** <https://community.homey.app/t/http-get-header-problem/101553>\
**Category:** Questions & Help\
**Created:** [January 18, 2024, 1:17pm UTC](https://community.homey.app/t/http-get-header-problem/101553 "2024-01-18T13:17:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [January 18, 2024, 1:17pm UTC](https://community.homey.app/t/http-get-header-problem/101553/1 "2024-01-18T13:17:33Z")

</div>

Hi

I need to get information from the response-header of a get-request, is that possible?

The request is like  
in curl its

```auto
$ curl -i -u 7001011234:567 https://handla.api.ica.se/api/login/
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.5
AuthenticationTicket: 8D66EA[..]
SessionTicket: 4F1E80[..]
LogoutKey: 59068e[..]
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 07 Apr 2013 18:44:24 GMT
Content-Length: 55
{"FirstName":"John","LastName":"Doe","Ttl":1200}

```

And i need the AuthenticationTicket from the header  
IS this possible in homey?  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1a2127de93227b3e7b71a299f04e816632ed1506.png)

/Rikard

---

<div class="post-metadata">

**Author:** ![Michael\_Withagen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_withagen/32/79696_2.png) [@Michael\_Withagen](https://community.homey.app/u/Michael_Withagen)\
**Post date:** [January 19, 2024, 6:06pm UTC](https://community.homey.app/t/http-get-header-problem/101553/2 "2024-01-19T18:06:08Z")

</div>

I haven’t done this specifically but I’ve use homey script to do certain things in my automation. With Homey script you can write your own javascript and use it as a card. I would assume you can easily do a http get request and get the header data.

Hope this points you in the direction of a solution.

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [January 20, 2024, 4:46pm UTC](https://community.homey.app/t/http-get-header-problem/101553/3 "2024-01-20T16:46:45Z")

</div>

I could probably do that, but I would like to do it with regular flowcards.

---

<div class="post-metadata">

**Author:** ![Michael\_Withagen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/michael_withagen/32/79696_2.png) [@Michael\_Withagen](https://community.homey.app/u/Michael_Withagen)\
**Post date:** [January 20, 2024, 5:55pm UTC](https://community.homey.app/t/http-get-header-problem/101553/4 "2024-01-20T17:55:02Z")

</div>

Homey script is used with/as a regular flow card. You can use/reuse the script and continue other cards after.
