samt / http-post

This utility extends the functionality of the 'http' library in stock node.js. It returns a post request function in a very similar way to node's http.get(). It supports both normal urlencoded payloads and multipart/form-data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Posting files as well as formData using http-post.

vicky-fd opened this issue · comments

Pls provide an example to post a file as welll as data using the http-post module.

Thanks,