Commit 92b9a87f by Alan de Oliveira

Something

parent b532e8e6
...@@ -56,12 +56,15 @@ public class PhoneService { ...@@ -56,12 +56,15 @@ public class PhoneService {
} }
@GET @GET
@Produces(MediaType.APPLICATION_JSON) @Path("samsung")
public Response getTel() { @Produces(MediaType.APPLICATION_XML)
public Response samsung() {
return Response.ok(new Phone(8, "", "Motorola", " Moto G5s Plus", " ")).build(); return Response.ok(new Phone(8,"", " ", " ", " Samsung galaxy s9")).build();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment