Hi Madan, I believe the client should be to able to send both param1 and param2 as strings. The server can then decode param2, the base64-encoded string, back into binary, and save the file.
You can use Node.js http.request or https.request (for secure connections), or you could use the `request` or `axios` package. On Friday, March 29, 2019 at 6:28:45 AM UTC+2, madana gopal wrote: > > Hi Team, > > We are trying to setup a http client and server (using express). We have > to send single post request with data having two parameters (param1 of type > string and param2 of type base64 data. What is the way to send this?. > Please share if we have snippet for this. > > Thanks. > > Regards, > Madan > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/696cd0e9-090b-4069-91a4-f8cbb4041e36%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.