# \[APP\]\[Pro\] HTTP request flow cards - HTTP request triggers, conditions and actions for flows

**URL:** <https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [September 14, 2018, 5:35pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684 "2018-09-14T17:35:39Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [May 21, 2019, 11:46am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/41 "2019-05-21T11:46:23Z")

</div>

Can this http connector get a value from a php or textfile?  
Would like to get the 5th value from this file [http://www.sundshult.se/clientraw.txt](http://www.sundshult.se/clientraw.txt)  
Then use that as a device in Homey

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [May 21, 2019, 12:02pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/42 "2019-05-21T12:02:27Z")

</div>

The app can parse json and xml files only.

---

<div class="post-metadata">

**Author:** ![Gustav\_Tillback](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gustav_tillback/32/11109_2.png) [@Gustav\_Tillback](https://community.homey.app/u/Gustav_Tillback)\
**Post date:** [May 21, 2019, 1:11pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/43 "2019-05-21T13:11:40Z")

</div>

Dear Erik,

Something broke after 2.0.10 update yesterday. Flows have been working flawlessly for half a year, but not since yesterday.

I use GET JSON path better logic cards in different flows (example screenshot below). When testing the flow it executes with a green check mark, but the Better logic variable never updates. Any ideas what could be wrong?

The behaviour is exactly the same with other flows, but with different URL:s / API:s.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/97606fdbf9b2ab3b95620649084d28c557bcc6e1.jpeg)

Any help is appreciated!

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [May 21, 2019, 3:22pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/44 "2019-05-21T15:22:54Z")

</div>

> [@Http request card app is not responding anymore after update to homey2](https://community.homey.app/t/http-request-card-app-is-not-responding-anymore-after-update-to-homey2/10755):
>
> I updated last week my homey to version 2 but i can’t get http request card to work anymore. When i call the url: [https://xxxxxxxxxxxxxxxxhomey.athom.com/api/app/com.internet/rob/gaatweg](https://xxxxxxxxxxxxxxxxhomey.athom.com/api/app/com.internet/rob/gaatweg) Where xxxxxxxxxxxxxxxx = my homey ID Before the update it worked and the flow was triggered. When i use: [http://ip.homey.local/api/app/com.internet/rob/gaatweg](http://ip.homey.local/api/app/com.internet/rob/gaatweg) Then it works But when i open the url using https and my ID i get a page with: Sorry, this Homey is not connected… Automatically trying to rec…

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [May 21, 2019, 3:28pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/45 "2019-05-21T15:28:46Z")

</div>

But looks more like a dot too many?  
In .datum it says …datum.

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [May 21, 2019, 5:49pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/46 "2019-05-21T17:49:33Z")

</div>

Found my mistake with v .10. Will fix it right away and submit it to the app store.

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [May 21, 2019, 6:00pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/47 "2019-05-21T18:00:59Z")

</div>

V 2.0.11 submitted to the appstore.

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [May 21, 2019, 6:02pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/48 "2019-05-21T18:02:23Z")

</div>

The external access url is changed with Homey V2:  
[https://homeycloudid.connect.athom.com/api/app/com.internet/event/trigger](https://homeycloudid.connect.athom.com/api/app/com.internet/event/trigger)

(connect instead of homey)

---

<div class="post-metadata">

**Author:** ![viix](https://avatars.discourse-cdn.com/v4/letter/v/4af34b/32.png) [@viix](https://community.homey.app/u/viix)\
**Post date:** [May 22, 2019, 3:56am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/49 "2019-05-22T03:56:53Z")

</div>

Is there any way to detect if a http request failed?  
Say if I poll an api and that URL is offline, then log or execute something else?  
I’m using a json card and it works great but the server I’m getting my data from has been down for maintenance often so I would like to be able to know if that happens within a flow.

Found the solution in the conditions card for HTTP app! Thanks!

---

<div class="post-metadata">

**Author:** ![Gustav\_Tillback](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gustav_tillback/32/11109_2.png) [@Gustav\_Tillback](https://community.homey.app/u/Gustav_Tillback)\
**Post date:** [May 22, 2019, 9:32am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/50 "2019-05-22T09:32:16Z")

</div>

Thanks for the quick response Erik. Will try it out as soon as update is live.

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [May 22, 2019, 10:54am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/51 "2019-05-22T10:54:39Z")

</div>

It’s live now!

---

<div class="post-metadata">

**Author:** ![Frater\_Kork](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/frater_kork/32/10308_2.png) [@Frater\_Kork](https://community.homey.app/u/Frater_Kork)\
**Post date:** [May 22, 2019, 2:21pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/52 "2019-05-22T14:21:13Z")

</div>

Hello,

I’m trying to send flow actions to my EventGhost service running on a PC in the same local network using http.  
I got the Eventghost webserver up and running and it happily logs events if I open up a browser from another client on the same network and just type in “[http://192.168.0.10/?hello](http://192.168.0.10/?hello)”  
Using your app I tried setting up the A20 GET request to do the same but I get no reaction on the target side, after a while the flow card shows a red warning triangle with the number 1.  
Any idea what I am missing?

Homey runs ver 2.1.2 and your app is running 2.0.11

Cheers!

EDIT: Answering my own question.  
I forgot that I had a stricter than usual firewall rule on my router dropping all unspecified traffic between my wireless network and the wired one housing the server i tried to connect to.  
Welp, that was embarrasing. All works fine now. 😉  
Thanks for a great app!

---

<div class="post-metadata">

**Author:** ![Gustav\_Tillback](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gustav_tillback/32/11109_2.png) [@Gustav\_Tillback](https://community.homey.app/u/Gustav_Tillback)\
**Post date:** [May 23, 2019, 6:08am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/53 "2019-05-23T06:08:45Z")

</div>

V 2.0.11 confirmed working. Thanks alot!

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [June 4, 2019, 7:46pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/54 "2019-06-04T19:46:48Z")

</div>

Hello! I’m using this app for several things and it’s awesome! So thanks a lot for making that possible!

I’m wondering, is there a way to use this app to start my pc (WOL) by an http request?  
I know there is a special WOL app for this, but I like to keep my homey clean. So, as less apps installed as possible, but without missing features…

BTW, there is no link to this thread on the homey appstore.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [June 4, 2019, 7:58pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/55 "2019-06-04T19:58:22Z")

</div>

WOL works on a lower level than HTTP, so you won’t be able to make it work using an HTTP request.

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [June 4, 2019, 8:19pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/56 "2019-06-04T20:19:41Z")

</div>

Exactly. WOL won’t be part of the HTTP app.

---

<div class="post-metadata">

**Author:** ![Vondel64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vondel64/32/63505_2.png) [@Vondel64](https://community.homey.app/u/Vondel64)\
**Post date:** [August 9, 2019, 6:49am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/57 "2019-08-09T06:49:24Z")

</div>

I’am starting with the HTTP Connecter.  
I want to sent a request to Homey.  
Whet I test the flow in Homey it works, but when I post my url in my browser I get a error:  
{“code”:401,“error”:“not\_logged\_in”,“error\_description”:“You need to log in to access this resource”}

My HTTP get: [https://cloudid](https://cloudid)…connect.athom.com/api/app/com.internet/home

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [August 10, 2019, 6:59am UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/58 "2019-08-10T06:59:59Z")

</div>

Have you enabled/disabled authorization in the app settings screen?

---

<div class="post-metadata">

**Author:** ![volodeev](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/volodeev/32/12304_2.png) [@volodeev](https://community.homey.app/u/volodeev)\
**Post date:** [August 22, 2019, 1:43pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/59 "2019-08-22T13:43:08Z")

</div>

How to make flow in order to pass authorization (Content-Type = multipart / form-data). I am trying to get authorization by API [https://www.saures.ru/upload/iblock/efd/SAURES-API-polzovatelskoe-v.3.12.pdf](https://www.saures.ru/upload/iblock/efd/SAURES-API-polzovatelskoe-v.3.12.pdf) ?

Maybe I can not write off correctly from [https://github.com/irritanterik/homey-http-request-actions#advanced-http-options](https://github.com/irritanterik/homey-http-request-actions#advanced-http-options)

I want to get these values, shown in the picture

 ![POST](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/b49e99b5b7920a7b818bb9a4d269b5b6d8a86b21.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [August 22, 2019, 1:47pm UTC](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684/60 "2019-08-22T13:47:00Z")

</div>

It’ll be quite a difficult process, because you first need to log in, extract the `sid` value, put that in a variable, and then use different flows that use the `sid` and make other requests. Perhaps it’s easier to implement using HomeyScript (but you need to know how to program JavaScript for that).

[Previous page](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684.md?page=2)

[Next page](https://community.homey.app/t/app-pro-http-request-flow-cards-http-request-triggers-conditions-and-actions-for-flows/1684.md?page=4)
