title: How to form protobuf resource part of http request body and test it through dhc client or postman for restful services
body: <p>I have created a .proto message and I'm exposing a rest service which looks like this </p>
  
  <pre><code>@Path("/test")
  public interface test{
  
  @POST
  @Produces("application/x-protobuf")
  @Consumes("application/x-protobuf")
  public Response getProperties(TestRequest testrq);
  }
  </code></pre>
  
  <p>Now TestRequest being the Java generated file of .protobuf how do i pass it in request body ?</p>
  
  <p>this will be be the .proto file format </p>
  
  <pre><code>message TestRequest
  {
      string id = 1;
      string name = 2;
      enum TestType
      {
          Test=1
      }
     TestType testType = 3; 
  }
  </code></pre>