title: Very basic stuff - how do I send a document to docusign via REST API? I only see <document bytes go here...> everywhere
body: <p>Can you tell me whether my code below is fine?</p>
  
  <pre><code>--MYBOUNDARY
  Content-Type: application/pdf
  Content-Disposition: file; filename="sample.pdf";documentid=1
  
  { 
  [B@17f7be7b
  }
  --MYBOUNDARY--
  </code></pre>
  
  <p>The [B@17f7be7b is the byteArray returned by java for my pdf (pdf file with just "Just a sample" as content). I just converted that byteArray to String and I have pasted it here. 
  I get </p>
  
  <pre><code>  "errorCode": "UNABLE_TO_LOAD_DOCUMENT",
    "message": "Unable to load the document. Unable to load Document(1). Error: the document is          corrupt, rebuilding failed"
  </code></pre>
  
  <p>Pls help me with the right way of doing this.</p>