Page 1 of 1

Async HTTP requests methods

Posted: Wednesday 06 June 2018 12:51
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.

Re: Async HTTP requests methods

Posted: Wednesday 06 June 2018 13:13
by dannybloe
Interesting.. never realised that.. will investigate.

Re: Async HTTP requests methods

Posted: Wednesday 06 June 2018 13:20
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.

Re: Async HTTP requests methods

Posted: Wednesday 06 June 2018 20:03
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).

Re: Async HTTP requests methods

Posted: Thursday 07 June 2018 6:23
by dannybloe
It is already on my list. So maybe for 2.5. Working on that one already

Re: Async HTTP requests methods

Posted: Friday 12 October 2018 21:06
by rjblake
Did this ever make it to 2.5?