title: How to send json with byte array to web api / postman
body: <p>i want to be able to send to both 
  1. a Web Api
  2. Postman to Web Api </p>
  
  <p>I can do simple GET Requests to my Web Api with Postman,  but what I dont understand is how to send a Byte Array.</p>
  
  <p>With Postman, I know that it is a <strong>PUT</strong></p>
  
  <p>This is the Web api signature </p>
  
  <pre><code>[Route("api/Manifest/VerifyChain/")]
  [ResponseType(typeof (VerifyManifestChainResponse))]
  public IHttpActionResult PutVerifyManifestChain([FromBody] VerifyManifestChainRequest message)
  {
     //.....
  }
  </code></pre>
  
  <p>The Request class </p>
  
  <pre><code>public class VerifyManifestChainRequest
  {
      public byte[] CalculatedMeasurement { get; set; }
      public string DeviceId { get; set; }
  }
  </code></pre>
  
  <p>Should i be sending a JSON via Raw Data using Postman ?</p>
  
  <pre><code>{
     "CalculatedMeasurement": ?????,
     "DeviceId": "00022B9A000000010001"
  }
  </code></pre>
  
  <p>I know when the Web page calls the Web Api, I do see this in the Inspector</p>
  
  <p><a href="https://i.stack.imgur.com/dhN96.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dhN96.png" alt="enter image description here"></a></p>
  
  <p><strong>Postman snippet</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Yqpb5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Yqpb5.png" alt="enter image description here"></a></p>
  
  <p>How do I send data via Postman , and how do I send to a web api   <a href="http://localhost:42822/api/Manifest/VerifyChain/" rel="noreferrer">http://localhost:42822/api/Manifest/VerifyChain/</a></p>