(also provided Traditional Chinese version document README-CH.md.)
Demonstrates how to upload files and stream them to a server using Node.js. Help you test stream file api.
- Node.js v20.11.1
npm install
node streamFileRequest.js <filePath> <formUrl> <token>
node getTokenAndStreamFileRequest.js <tokenUrl> <username> <password> <filePath> <formUrl>