Using HTTP Request - how to get and use the HTTP status codes

Hopefully created in correct category.

I’m building a flow using the HTTP Request app.
What I want to achieve is doing a HTTP GET and build a condition flow based on the HTTP status codes (like 200 or 404).

First hurdle:
I’m using the HTTP Request app and I’m using the card “HTTP request flow cards” GET
In the “Text” field I have:
http://www.(myTag).com” (my tag is, let’s say “Google”)

When testing this, I’m getting:
“Missing Tag in flow card”
I’m using a string variable in Better Logic for the tag, which has the value of “Google”.
I have also tried just the whole URL:
But same error.

If I can get this to work, I would like to use a condition, based on the HTTP status code to determine the next step.

Does anyone have a sample HTTP Request flow with something similar I can look at?
I’ve search this forum and I did find a number of examples, the majority were POST and interacting with JSON.


Can u post the flow here?
Now we have to guess that ur using something like www.(tag is called google) .com.
Showing a pic of the flow tells us so much more then a 1000 words.

1 Like

Ah, good point, I will add a picture next time.

In the meantime I figured it out, now using the C20 “HTTP Get code” card in the “AND” condition.
Seems that it was built for that purpose.


1 Like

Can someone help me
how can I take this numbers every day at 13:00 pm?
from this site

from this URL.

Hi! Any chance to get this app ready with SDK3 for Homey Pro 2023?

It seems there is no support for this app anymore. So it won’t work on Homey Pro 2023 :frowning:
I use(d) the HTTP request app to do this:


Can anybody help me with an alternative app that makes it possible to do the same?

You should be able to read the JSON with the built in http logic card (AND card). Then extract the field from the Json with the Json logic card.
But you need AdvancedFlow to use the Json card because you have to combine another card to work with the result value.

Sadly no XML support in Homey http get cards. :cry:

In http flow cards app this is missing, too - like anywhere else in JS environment.
You would need a npm module to convert XML to JSON. This would be be something nice for:

@Arie_J_Godschalk :wink:

Perhaps a flow action to input a XLM string and get a JSON string back that can be parsed with a JSON path.
I’m using fast-xml-parser here homey.qnap/qnapApi.js at main · RonnyWinkler/homey.qnap · GitHub

But for XML it’s difficult to decide is a single element is an element or one line of an array (without the XSD definition). In that case you will get different outputs for a one line array and a two line array… but I digress :slight_smile:

My solar inverter does XML (steca) but have scripts parsing and a webhook to Homey. The http flow app isnt sdk3 so yeah. Homey internal http is json only.

No, it also supports XML:

Ah, thanks. I only looked at the card titles.

So my worry is that this app wont be supported on the new Homey Pro. Is there an alternative app that has the same features? If not: is there a developer who is willing to take over this app and make it SDK3 proof?