Choose the fragment that a client could use to request "/res/value" using its JSON representation (Choose one):

Given the resource class:

iamge:19.png

Choose the fragment that a client could use to request “/res/value” using its JSON representation (Choose one):

Given the resource class:

iamge:19.png

Choose the fragment that a client could use to request “/res/value” using its JSON representation (Choose one):

A.
WebResource resource = client.resource(“/res/value”); Value val =
resource.accept(“application/json”).get(Value.class);

B.
WebResource resource = client.resource(“/res/value”); Value val =
resource.type(“application/json”).get(Value.class);

C.
WebResource resource = client.resource(“/res”);
Value val =
resource.accept(“value”).type(“application/json”).get(Value.class);

D.
WebResource resource = client.resource(“/res/value”); Value val = resource.get(Value.class);



Leave a Reply 1

Your email address will not be published. Required fields are marked *