Http get request node[254, 171, 127]

is there anyway to change the value in the [ xxx, xxx , xxx ] to [msg.payload.col1,msg.payload.col2,msg.payload.col3] ?

Try using a change node, setting msg.payload to J: expression (JSONata)


"data=" & [payload.col1, payload.col2, payload.col3]

where I assume you are using msg.payload as ‘append to query string parameters’

JSONata, when using the & string concatenator, will stringify an array directly, hence ‘payload.col1’ is all that is required to lift the values.

1 Like

thats awesome thank you! will help with dimming from ui