http-post icon indicating copy to clipboard operation
http-post copied to clipboard

Is it still working for send files?

Open EthraZa opened this issue 11 years ago • 0 comments

I tryed

var req = http.post(options, authParams, {param: 'file', path: '/tmp/test.zip'}, reqCallback);

On server, I can see that the request itself is working, but the file is not getting there.

I used the "request" module and it worked, it sent the file, but I really would prefer to use the "http-post" module, since "request" adds almost 3MB of dependencies to my project.

Am I doing something wrong?

EthraZa avatar Dec 12 '14 14:12 EthraZa