User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lorem-rpc [2019-01-22 14:27]
ziggi
lorem-rpc [2019-06-21 14:14] (current)
Line 3: Line 3:
  
 Support three operation: upload, delete, list Support three operation: upload, delete, list
 +
 +Code: [[https://​github.com/​onborodin/​ng-lorem/​blob/​master/​backend/​routers/​files.js]]
  
 ====Upload==== ====Upload====
Line 9: Line 11:
  
 <​code>​ <​code>​
-curl -vk -F '​file=@'/​home/​ziggi/data.bin https://​lorem.unix7.org/​data/upload+curl -vk -F '​file=@'/​home/​user/data.bin https://​lorem.unix7.org/​files/upload
 </​code>​ </​code>​
  
Line 36: Line 38:
    
 <​code>​ <​code>​
-curl -vk https://​lorem.unix7.org/​data/drop/10+curl -vk https://​lorem.unix7.org/​files/drop/10
 </​code>​ </​code>​
  
Line 54: Line 56:
  
 <​code>​ <​code>​
-curl -kv https://​lorem.unix7.org/​data/list+curl -kv https://​lorem.unix7.org/​files/list
 </​code>​ </​code>​