Skip to content

giulio/fileserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Polopoly Fileserver
===================


Simple web service that allows you to store/read files through rest like operations.
Most Polopoly projects use this webservice when they want to use an alternative storage for images, video, etc. 

Please refer to the unit/integration tests for an actual up-to-date documentation. 


Examples
========

Uploading a remote HTTP resource
curl -X POST http://$HOST:$PORT/fileserver/httpFile/foo?url=http://www.domain.com/image.jpg

Uploading a binary file
curl --data-binary @$FILE_NAME http://$HOST:$PORT/fileserver/file/$FILE_NAME

Reading 
http://localhost:8082/fileserver/file/$FILE_ID

About

File server web service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.6%
  • Shell 0.4%