Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updates

  • Loading branch information...
commit eb006f8480884219def44e279f91a49cc27ce759 1 parent 6313832
@vogella vogella authored
View
2  de.vogella.jersey.todo.client/src/de/vogella/jersey/todo/client/Tester.java
@@ -40,7 +40,7 @@ public static void main(String[] args) {
System.out.println(service.path("rest").path("todos/1")
.accept(MediaType.APPLICATION_XML).get(String.class));
// get Todo with id 1
- service.path("rest").path("todos/3").delete();
+ service.path("rest").path("todos/1").delete();
// Get the all todos, id 1 should be deleted
System.out.println(service.path("rest").path("todos")
.accept(MediaType.APPLICATION_XML).get(String.class));
Please sign in to comment.
Something went wrong with that request. Please try again.