Async HTTP requests methods

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
mariuszp
Posts: 2
Joined: Tuesday 05 June 2018 23:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Async HTTP requests methods

Post by mariuszp »

I was wondering if there's any reason why we can't use other than POST and GET HTTP methods in domoticz.openURL? I was writing some scripts for Spotify integration and a lot of API methods wants PUT method. I know that I can use domoticz.osExecute and CURL but openURL is better for handling responses from HTTP requests.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Async HTTP requests methods

Post by dannybloe »

Interesting.. never realised that.. will investigate.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Async HTTP requests methods

Post by dannybloe »

Looks like that requires quite some rewrites here and there in Domoticz code so if we do it it will be after the upcoming stable.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
mariuszp
Posts: 2
Joined: Tuesday 05 June 2018 23:15
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Async HTTP requests methods

Post by mariuszp »

Hey Danny,
Thanks for your reply. Is there a good place to put such a feature request because I think it would be worth implementing it (even if not in the next stable release).
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Async HTTP requests methods

Post by dannybloe »

It is already on my list. So maybe for 2.5. Working on that one already
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
rjblake
Posts: 142
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Async HTTP requests methods

Post by rjblake »

Did this ever make it to 2.5?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest