Virtuino Forum
Custom Programatic http request - Printable Version

+- Virtuino Forum (https://virtuino.com/forum)
+-- Forum: Virtuino (https://virtuino.com/forum/forumdisplay.php?fid=1)
+--- Forum: Virtuino IoT (https://virtuino.com/forum/forumdisplay.php?fid=2)
+--- Thread: Custom Programatic http request (/showthread.php?tid=1170)



Custom Programatic http request - alperian - 01-09-2023

is it possible to create custom http request programmatically
https://api.thingspeak.com/channels/xxxxxxxx/fields/4.json?end=[year]-[month]-[day] 00:00:00&results=1
for example 
[url=https://api.thingspeak.com/channels/1615881/fields/4.json?end=2022-01-21%2000:00:00&results=1][/url]
https://api.thingspeak.com/channels/130372/fields/1.json?end=2022-09-21%2000:00:00&results=1


RE: Custom Programatic http request - iliaslamprou - 01-09-2023

Yes, go to "Background tasks". Add the tool "Http Request".
Open the settings of the tool. Create and test your request.

Then go to the settigns tab to select how to run the script and how to store the value.

I think it is very easy to use this tool.


RE: Custom Programatic http request - eagleboy - 11-02-2024

(01-09-2023, 11:38 AM)alperian Wrote: is it possible to create custom http request programmatically
https://api.thingspeak.com/channels/xxxxxxxx/fields/4.json?end=[year]-[month]-[day] 00:00:00&results=1
for example 
[url=https://api.thingspeak.com/channels/1615881/fields/4.json?end=2022-01-21%2000:00:00&results=1][/url]
https://api.thingspeak.com/channels/130372/fields/1.json?end=2022-09-21%2000:00:00&results=1

Hello alperian,
have you found a way to change the request parameters (like a date) programaticaly?
thanks