title: PDF Attachment As Part of PUT Request
body: <p>I am looking for some ideas here. I have a requirement where a client will do a PUT HTTP request that contains some JSON data  as a form field eg.</p>
  
  <pre><code>{
      "List": {
          "ListItems": [
              {
                  "ItemCaption": "No",
                  "ItemValue": "N"
              },
              {
                  "ItemCaption": "Yes",
                  "ItemValue": "Y"
              }
          ],
          "Name": "YesNo"
      }
  }
  </code></pre>
  
  <p>I now also have the requirement to include a PDF attachment as part of the same request. I am looking for the most efficient way to do this. Encoding the attachment into the above JSON using either BSON, Base64 etc. does not seem the right way to go. I am looking for something that is more compact and efficient.</p>
  
  <p>What are my alternatives?</p>