Passing parameters of multiple types in http post

14 views
Skip to first unread message

madana gopal

unread,
Mar 29, 2019, 12:28:45 AM3/29/19
to nodejs
Hi,

We have to send JSON data with two params string and base64 data as values. Please clarify the way to send from http.request() call in nodejs app.

Eg:
{"name" : "xx" , "image" : <base64 encoded image>}

Thanks.

Regards,
Madan

Lukas Wilkeer

unread,
Jun 6, 2019, 9:59:09 PM6/6/19
to nodejs
Hi madana.

You can see a exemple of how to post data on this link.
You will need to use the querystring module to parse the content.

Regards.
Reply all
Reply to author
Forward
0 new messages