Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Programatic http request
#1
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/1303...&results=1
Reply
#2
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.
Reply
#3
(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/1303...&results=1

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


Forum Jump:


Users browsing this thread: 1 Guest(s)