public byte[] post(String relativeUrl, TokenHolder tokenHolder, HttpParameters oauthParams,
List<? extends NameValuePair> parameters) {
HttpPost post = new HttpPost(baseUrl + relativeUrl);
if (parameters != null) {
try {
post.setEntity(new UrlEncodedFormEntity(parameters, "UTF-8"));
} catch (UnsupportedEncodingException e) {
throw new IllegalArgumentException("Invalid URL encoding", e);
}
}
return doRequest(post, tokenHolder, oauthParams);