To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
HTTP + X-PROTOBUF
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /Distribution/SalesAmountPlan/{PlanId} HTTP/1.1
Host: 10.10.0.107
Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"Result":[{"PlanId":0,"YearN":0,"MonthN":0,"MobileUserId":0,"ProducerId":"String","Vg":0}]}