This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Description
The request retrieves an error because the body end with an "s".
With the following body it works (only delete the "s").
final String body = "[{\n" + " \"method\":\"pos.plusones.get\",\n" + " \"id\":\"p\",\n" + " \"params\":{\n"
+ " \"nolog\":true,\n" + " \"id\":\"" + decodedUrl + "\",\n" + " \"source\":\"widget\",\n"
+ " \"userId\":\"@viewer\",\n" + " \"groupId\":\"@self\"\n" + " },\n"
+ " \"jsonrpc\":\"2.0\",\n" + " \"key\":\"p\",\n" + " \"apiVersion\":\"v1\"\n" + "}]";