Skip to content
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.

API LIST
  1. GET:http://localhost:6060/rest/images : gets all the image names/file names from the folder C:\Personal folder as of now.
  2. GET:http://localhost:6060/rest/images?FileName=fileName Downloads the file with name passed in the query parameter
  3. POST:http://localhost:6060/rest/images
Setup
  1. Build the code (both client and server).
  2. Install the ImageServer.exe as windows service sc create ImageServer binPath= "<path_to_the_executable>"
  3. Create two folders with the name Personal and downloaded in the C:
    or change the path of the folders in server and client code.
  4. Copy the load.xml file from Binaries folder and put that into C:\
  5. 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.

Clone this wiki locally