https://github.com/troygoode/node-request-upload-example
https://github.com/troygoode/node-request-upload-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/troygoode/node-request-upload-example
- Owner: troygoode
- Created: 2012-05-20T14:51:01.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2012-05-20T14:57:13.000Z (about 13 years ago)
- Last Synced: 2025-01-17T02:12:51.157Z (4 months ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# Install
```bash
$ git clone https://github.com/TroyGoode/node-request-upload-example.git
$ cd ./node-request-upload-example
$ npm install
```# Run
In terminal tab 1:
```bash
$ node server.js
```In terminal tab 2:
```bash
$ node client.js
```Now grab what was output to terminal tab 1 (will look something like `/tmp/3e5ae9afca660e3e82eb01faab336838`) and in terminal tab 3:
```bash
$ open /tmp/3e5ae9afca660e3e82eb01faab336838
```(replace with appropriate tempfile)