Read and write gRPC data using the Postman JSON interface
When sending or receiving a gRPC request or response, the messages being sent back and forth are transmitted in a format called protobuf (protocol buffers). Unlike other data formats such as JSON or XML, which are text-based, protobuf uses a binary format. Binary formats aren’t meant to be read by humans, so Postman provides a JSON interface that enables you to read and write data when using gRPC.
JSON interface
Inspecting fields and types
When composing a message for a gRPC request, you input the data as JSON. Internally, that JSON represents protobuf (protocol buffers) data. For example, you can enter a base64 JSON string to represent bytes in protobuf data.
Postman uses the service definition you select to provide rich type information as you compose your message. Hover over any JSON field or value to expose a tooltip that explains the underlying protobuf type. This can help you remember how to enter certain types of data, or to understand what’s going on internally.
