From 0cfde7b1c1ded067f56c681722b3c3d5f08692be Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 4 Jun 2018 04:03:55 +0200 Subject: instructiones --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c6e6663..a79c03c 100644 --- a/README.md +++ b/README.md @@ -60,3 +60,17 @@ Then run the server as usual: npm run server ``` +## Adding data + +### CURLing the API + +So long as you know the ID of the folder you're talking to, you should be golden... + +``` +curl \ + -F "module=samplernn" \ + -F "activity=train" \ + -F "file=@woods1.jpg" \ + localhost:7013/api/folder/1/upload/ +``` + -- cgit v1.2.3-70-g09d2