OAuthMessage message = accessor.newRequestMessage("POST", rpcServerUrl, null, bodyStream);
message.getHeaders().add(
new SimpleEntry<String, String>(HttpMessage.CONTENT_TYPE, "application/json"));
message.getHeaders().add(new SimpleEntry<String, String>("oauth_version", "1.0"));
OAuthClient client = new OAuthClient(httpFetcher);
responseStream = client.invoke(message, net.oauth.ParameterStyle.BODY).getBodyAsStream();
}
String responseString = HttpFetcher.readInputStream(responseStream);
LOG.info("Response returned: " + responseString);