gRPC Request
Bruno provides comprehensive support for gRPC requests, enabling you to test and interact with gRPC services directly from the interface. With Bruno’s gRPC support, you can:
- Add Proto files for enhanced IntelliSense and method discovery
- Use Server Reflection as an alternative to Proto files for automatic method suggestions
- Call server methods with full parameter support and type validation
- Test real-time streaming APIs including unary, server streaming, client streaming, and bidirectional streaming
gRPC Interface
Bruno gRPC interface provides an intuitive way to interact with gRPC services. The interface automatically adapts based on whether you’re using Proto files or Server Reflection.
Creating a gRPC Request
Step 1: Enable gRPC Support
First, you need to enable gRPC support in Bruno’s beta features:
- Go to Settings > Beta
- Check the Enable checkbox for gRPC support
Step 2: Create a gRPC Request
- Open the collection context menu and select New Request from the dropdown
- Select gRPC as your request type
- Enter the service endpoint in the URL field (e.g.,
https://grpcb.in/
)
Step 3: Configure the Request
- Click on Reflection and choose the method you want to call from the dropdown
Refresh: The gRPC refresh feature caches server information in memory for better performance. If you’re running a local gRPC server and make changes to your service definitions, click the Refresh button next to the Using Reflection toggle to reload the latest changes from your server.
- Add any required inputs in the message section (auto generate with Auto Fill button)
Step 4: Send the Request
Click the Send button to execute your gRPC request.
You’ll see the response in the Response section with detailed information about the request execution.
To learn about proto files, navigate to the Adding Proto file section.