Virtuino Forum
key / value in 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: key / value in http request (/showthread.php?tid=21946)



key / value in http request - eagleboy - 11-02-2024

Hi all,
anybody succeeded in setting the http request widget params key/value pair using for example the $C1.Vxx? See the attached picture for more.
What format, if any,  to use? I am out of tries,  tried everything, [$C1.Vxx], C1.Vxx. , JSON...........
thanx!
   


RE: key / value in http request - iliaslamprou - 11-06-2024

Hi,
you can find the Variable unique id on the variable setings.
The correct format is 
$C1_V34
$C2_V56
etc...


RE: key / value in http request - eagleboy - 11-07-2024

(11-06-2024, 09:51 PM)iliaslamprou Wrote: Hi,
you can find the Variable unique id on the variable setings.
The correct format is 
$C1_V34
$C2_V56
etc...


Hi Ilias,
unfortunately, I tried this as well, I tried again, it does not work, maybe I am missing something?
See the attachment, that's what I need to accomplish.
Obviously , the $C1_V53 contains the date, for example 2024-11-05
thanks
   


RE: key / value in http request - iliaslamprou - 11-10-2024

Hi,
I am very sorry.
Please try this syntax

$C1_V0.value
$C1_V123.value

If you want to upload the timestamp of the value use this syntax:
$C1_V123.date