title: How to upload an image Yammer programatically with java
body: <p>i try to find a way of uploading programatically images in java to my Yammer account.</p>
  
  <p>For the OAuth issues I use <a href="https://github.com/fernandezpablo85/scribe-java" rel="nofollow">https://github.com/fernandezpablo85/scribe-java</a> which works fine, but for the image upload I need to create a payload message.</p>
  
  <p>Is there any code example of a payload message (or any other way to do so) to send a post request with an image ?</p>
  
  <p>Thanks for any help :)</p>