I am trying to call this API (Oauth1.0 standard):
https://appcenter.intuit.com/api/v1/Connection/Reconnect
And what I am doing is : (It am working on java)>
Here is a builder I created to build the OAuth v1 Authorization header. You may find it useful.
https://gist.github.com/robotdan/33f5834399b6b30fea2ae59e87823e1d
Example usage calling Twitter:
String authorizationHeader = new OAuth1AuthorizationHeaderBuilder()
.withMethod("POST")
.withURL("https://api.twitter.com/oauth/access_token")
.withConsumerSecret("twitterConsumerSecret")
.withTokenSecret("your_oauth_token_secret")
.withParameter("oauth_consumer_key", "your_consumer_key")
.withParameter("oauth_token", "your_oauth_token")
.build()