To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /x-protobuf/reply/SaveInventarisationDetails[] HTTP/1.1
Host: 10.10.0.107
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length
{Unable to show example output for type 'SaveInventarisationDetails[]' using the custom 'x-protobuf' filter}No parameterless constructor defined for this object.
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{Unable to show example output for type 'SaveInventarisationDetailsResponse[]' using the custom 'x-protobuf' filter}No parameterless constructor defined for this object.