Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated readme

  • Loading branch information...
commit d500a69b9888a4b19ca78366e7cd7a8a19a9aa69 1 parent 8a3fe38
@Leveton authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 readme.md
View
10 readme.md
@@ -25,6 +25,16 @@ examples
console.log(response);
});
+### insert a file
+
+ // add a Foo object, { foo: 'bar' }
+ app.insertFile(fileName, data, fileType, function (err, response) {
+ fileLink = response.url
+ parseName = response.name
+ app.insert('Foo', { "foo" : fileLink, "bar" : parseName }, function(erro, res){
+ })
+ });
+
### find one
// the Foo with id = 'someId'
Please sign in to comment.
Something went wrong with that request. Please try again.