Egyszerű példa REST kliens alkalmazás a példa RESTServer-hez
Environment
- Install Java JDK8 (http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk)
- Install Maven (https://maven.apache.org/)
- Install Git (https://git-scm.com/downloads)
Running
- Clone the repository: git clone https://github.com/pekmil/RESTClient.git
- Run: mvn clean install
- Start generated JAR file (from the target directory):
- REST client mode: java -jar RESTClient-1.0-SNAPSHOT-jar-with-dependencies.jar REST username
- WebSocket client mode: java -jar RESTClient-1.0-SNAPSHOT-jar-with-dependencies.jar WS