-
Notifications
You must be signed in to change notification settings - Fork 1
Home
harsha edited this page Mar 19, 2015
·
7 revisions
#Welcome to the ImageServer wiki!
#####The project is about building a REST server for below purposes. #####1.Store Images. #####2.Compress Images. #####3.Get Images.
#####Reference Material: #####http://www.open-std.org/ #####https://github.com/chriskohlhoff
#####Buildsystem: #####https://travis-ci.org/harshakush/ImageServer #####Necessary changes need to be put into yml file to generate the build.
- GET:http://localhost:6060/rest/images : gets all the image names/file names from the folder C:\Personal folder as of now.
- GET:http://localhost:6060/rest/images?FileName=fileName Downloads the file with name passed in the query parameter
- POST:http://localhost:6060/rest/images
- Build the code (both client and server).
- Install the ImageServer.exe as windows service sc create ImageServer binPath= "<path_to_the_executable>"
- Create two folders with the name Personal and downloaded in the C:
or change the path of the folders in server and client code. - Copy the load.xml file from Binaries folder and put that into C:\
- Run the client and upload some images.
All the hard coded folder names will be changed in next few days. Use the above mentioned apis for accessing the data.