Browse files

fix readme

  • Loading branch information...
1 parent c1686b4 commit 4d2a5594559f38e33146d47d2b204398208510e2 @tih-ra committed Nov 28, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 README.md
View
9 README.md
@@ -57,14 +57,13 @@ Example:
});
});
-2. **Url example:**
+2. **Remove uploaded file example:**
```javascript
- app.post('/upload', function(req, res) {
- alleup.upload(req, res, function(err, file, res){
+ app.get('/delete', function(req, res) {
+ alleup.remove('1322506647.jpg', function(err) {
- console.log("FILE UPLOADED: " + file);
- // THIS YOU CAN SAVE FILE TO DATABASE FOR EXAMPLE
+ // THIS YOU CAN DELETE FILE FROM DATABASE FOR EXAMPLE
res.end();
});
});

0 comments on commit 4d2a559

Please sign in to comment.