below is the sample code, alreadyed added accesstoken,user-agent in the request headers :
HttpEntity entity = new HttpEntity<>(fi