Article complete

Postman now supports gRPC

The gRPC for the Postman API Platform is still in beta and the company is in the process of integrating it to the rest of the ecosystem.

A computer screen displays the gRPC logo, with a rocket launching in the background amidst confetti and stars.

Key takeaways

  • Postman has introduced beta support for gRPC, enhancing its API platform capabilities.
  • Developers can now test gRPC APIs with automatic recognition of services and methods from Protobuf definitions.
  • The update includes various gRPC methods and features like client-side type-checking and message autocomplete.
  • Users can save and share Protobuf definitions in the Postman cloud to streamline collaboration.
  • Advanced streaming features allow for searching, filtering, and managing streamed messages effectively.

Takeaways drafted with AI from the article text.

Upon loading the API’s Protobuf definition (.proto file), Postman now will automatically gain an understanding of the services and methods available and generate example payloads for each method. This will speed up testing. In addition, developers can save their Protobuf definitions to the Postman cloud, which allows sharing within the organisation, and collaborate and manage them as part of the API lifecycle.

The features that come with the new update include call unary, client-streaming, server-streaming, and bidirectional-streaming gRPC methods. Developers will be able to utilise autocomplete while composing messages. Other features include: client-side type-checking and type annotations; automatic generation of example messages with a single click; loading services using gRPC server reflection; cancelling a gRPC method any time; sending metadata; and viewing incoming metadata along with advanced streaming features, such as searching and filtering streamed messages, variable interpolation using environments, and synchronizing the proto files in the API with your repository on Github, Bitbucket, Gitlab, or Azure Repos.

The gRPC also allows importing, authoring, sharing, and inspecting Protobuf definitions with syntax highlighting and autocomplete.

The company will be making constant improvements towards integrating gRPC into the rest of the Postman ecosystem. These updates include adding documentation, scripting, testing, and every other feature. Developers can expect automatic documentation generation and code generation soon.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.