Async HTTP requests methods
Moderator: leecollings
-
- Posts: 2
- Joined: Tuesday 05 June 2018 23:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Async HTTP requests methods
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.
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: Async HTTP requests methods
Interesting.. never realised that.. will investigate.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: Async HTTP requests methods
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.
-
- Posts: 2
- Joined: Tuesday 05 June 2018 23:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Async HTTP requests methods
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).
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).
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: Async HTTP requests methods
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.
-
- Posts: 142
- Joined: Friday 21 October 2016 9:25
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Async HTTP requests methods
Did this ever make it to 2.5?
Who is online
Users browsing this forum: No registered users and 1 guest