[from now] 2014/12/03 18:14:34

diff --git a/pom.xml b/pom.xml
index f003f93..dfd561e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,10 +15,17 @@
     </properties>

     <organization>
-        <!-- Used as the 'Vendor' for JNLP generation -->
         <name>szk-engineering.com</name>
     </organization>

+    <dependencies>
+        <dependency>
+            <groupId>org.glassfish.jersey.core</groupId>
+            <artifactId>jersey-client</artifactId>
+            <version>2.13</version>
+        </dependency>
+    </dependencies>
+
     <build>
         <plugins>
             <plugin>
diff --git a/src/main/java/restawhile/MainApp.java b/src/main/java/restawhile/MainApp.java
index 656d267..e6fc2b8 100644
--- a/src/main/java/restawhile/MainApp.java
+++ b/src/main/java/restawhile/MainApp.java
@@ -6,20 +6,28 @@ import javafx.fxml.FXMLLoader;
 import javafx.scene.Parent;
 import javafx.scene.Scene;
 import javafx.stage.Stage;
-
+import javax.ws.rs.client.Client;
+import javax.ws.rs.client.ClientBuilder;
+import javax.ws.rs.client.Entity;
+import javax.ws.rs.client.Invocation;
+import javax.ws.rs.client.WebTarget;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;

 public class MainApp extends Application {

     @Override
     public void start(Stage stage) throws Exception {
         Parent root = FXMLLoader.load(getClass().getResource("/fxml/Scene.fxml"));
-
+
         Scene scene = new Scene(root);
         scene.getStylesheets().add("/styles/Styles.css");
-
+
         stage.setTitle("JavaFX and Maven");
         stage.setScene(scene);
         stage.show();
+
+        jerseydebug();
     }

     /**
@@ -34,4 +42,12 @@ public class MainApp extends Application {
         launch(args);
     }

+    private void jerseydebug() {
+        Client client = ClientBuilder.newClient();
+        WebTarget target = client.target("http://httpbin.org");
+        Invocation.Builder request = target.request();
+        Response response = request.post(Entity.entity("A string entity to be POSTed", MediaType.TEXT_PLAIN));
+        System.out.println(response.readEntity(String.class));
+    }
+
 }