Skip to content

support upload #37

Open
Open

Description

@andrewrk

In the browser, the api looks something like this:

$('#file').on('change', function (event) {
  var xhr = new XMLHttpRequest();
  xhr.upload.addEventListener('progress', onProgress, false);
  xhr.addEventListener('load', onSuccess, false);
  xhr.open('POST', '/upload/audio');
  fd = new FormData();
  fd.append('file', event.target.files[0]);
  xhr.send(fd);
});

I'd like to have this functionality with node.js so I can do testing.

Activity

  1. chetandhembre commented on Oct 3, 2012

    @chetandhembre

    i am also facing same problem.... need solution...

  2. Pragmateek commented on Jun 16, 2017

    @Pragmateek

    Same need here, is there any development of this feature?
    Maybe another package that would implement it?
    Thanks. :-)

  3. sugarshin commented on May 9, 2018

    @sugarshin

    +1

  4. BruceAn1978 commented on May 19, 2018

    @BruceAn1978

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions