Hello i want to change the global variable in the flow using the http request.
I already saw it's possible to GET flow global variable using HTTP request.
Also i have checked that it's possible to send POST/PUT request.
But unfortunately i cannot get it working
http-in (e.g. URL /ctx/:name) → function node* (pick up the name in msg.params and values in msg.payload, set global(name, value)) → http-out node.
then send a value like http://localhost:1880/ctx/myVar?id=abcde&size=12&age=25 (or whatever you desire)
* use a debug node set to show complete message to see where your variables and payloads end up then re-arrange them to write into global context as required.
The runtime does not provide an HTTP API for doing that. The workaround (and quite natural way of doing it) is, as you know, to create the flow yourself.