User Tools

Site Tools


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]
lorem-rpc [2020-02-15 00:57] (current)
Line 3: Line 3:
 Support three operation: upload, delete, list Support three operation: upload, delete, list
 +Code: [[https://​​sadsoldier/​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://​​data/upload+curl -vk -F '​file=@'/​home/​user/data.bin https://​​files/upload
 </​code>​ </​code>​
Line 36: Line 38:
 <​code>​ <​code>​
-curl -vk https://​​data/drop/10+curl -vk https://​​files/drop/10
 </​code>​ </​code>​
Line 54: Line 56:
 <​code>​ <​code>​
-curl -kv https://​​data/list+curl -kv https://​​files/list
 </​code>​ </​code>​