Skip to content

Demo of multipart form/file uploads with hapi.js and various clients

Notifications You must be signed in to change notification settings

joyrexus/multipart-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of multipart form/file uploads with a hapi.js server and various clients.

Usage

npm install
npm run server
npm run client

Change the first route in server.js to try the other clients:

server.route({ 
    method: 'GET',
    path: '/upload',
    handler: function (request, reply) {
        reply.file('clients/html-form/index.html');
        // reply.file('clients/xhr-send/index.html');
        // reply.file('clients/xhr-bootstrap/index.html');
    },
});

About

Demo of multipart form/file uploads with hapi.js and various clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published