1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/client/Java
2010-10-08 12:51:32 -07:00
..
lib Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00
build.sh Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00
Demo.class Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00
Demo.java Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00
README Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00
run.sh Move all modules/themes/client code for the 3.0 codebase into a 3.0 directory. 2010-10-08 12:51:32 -07:00

This is very, very rough sample code for how to do some Java REST
requests. To run this code:

1) Edit Demo.java and set the BASE_URL to your Gallery3 install.
2) Edit USERNAME and PASSWORD as appropriate
3) In a shell, do "sh build.sh"
4) In a shell, do "sh run.sh"

Note that there is NO error checking, so if something goes wrong
you'll have to debug it.