private HttpRequestMessage GetBaseRequest(OAuthRequest oauthRequest, string endpoint) { var address = new Uri(_client.BaseAddress, endpoint); var request = new HttpRequestMessage(HttpMethod.Post, address); request.Content = new StringContent(string.Empty); request.Content.Headers.ContentType = new MediaTypeHeaderValue("application/x-www-form-urlencoded"); AppendOAuthConsumer(oauthRequest); _oauthService.AddOAuthAuthorizationHeader(request, oauthRequest); return(request); }