I have decided to turn the changelog into an array of JSONs and put it the request body of POST to my express route.
Not sure for the syntax of this array of JSONs.... Any help? On Wednesday, December 4, 2013 8:29:30 AM UTC-8, Reza Razavipour wrote: > > Let me explain. > > So my javascript client will need to send a changelog to my node server. > The changelog will consist of commands and parameters. CRUD commands. > So one example can be comprised two commands: > > item 1 : create staticroute param1 param2 > item 2 : update network param1 param2 param3. > > How should the data from the client look like. I am using express and > routing but I am more interested in the format of the request. > > Thoughts? > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.