diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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/ +``` + |
