"payload" : "email=rahul%40gmail.com&password=we12"
But i want to store data using flow in bellow format
"email" : "="de...@gmail.com","password"="demo"
Given this is similar to Manpreet's question and we've seen a similar pattern of question asking from you both, I'm guessing this is related to some school assignment you've both been given.
Id be interested to know if I'm right about that, and if so, what the course is.
As for your question, it looks like email/pword are being passed in over an http request. If that is the case, look at the http in node documentation - it links to the express docs which explains how you can access the query parameters already parsed under msg.req.query.
From there you can construct whatever object you want.
If you want to stick to your string parsing way of doing it, that is basic JavaScript and not specific to node-red. I suggest you go do some research on stackoverflow for how to do basic string splitting.
Nick
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.