public void crudViaRest() throws URISyntaxException {
assertNotNull(url);
Client client = ClientBuilder.newClient()
.register(new FpEntityCollectionReaderWriter())
.register(new FpEntityReaderWriter());
WebTarget target = client.target(url.toURI()).path("rest").path("posts");
// Create Post
Response response = target.request().accept(MediaType.APPLICATION_JSON).get();
assertNotNull(response);