private String request(String urlStr, String requestMethod, Map<String, String> postData, boolean useOAuth) {
GenericUrl url = new GenericUrl(urlStr);
// Configure OAuth request params
OAuthParameters params = new OAuthParameters();
params.consumerKey = key;
params.computeNonce();
params.computeTimestamp();
params.signer = signer;
BufferedReader br = null;
try {