1. Websocket, Socket.IO & more
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
      • List all inventories
      • Create Order
      • Get Order
      • Cancel Order
      • Callback Example
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
        DEMO
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
        POST
      • SSE example
        POST
      • SOAP example
        POST
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
    • Schemas
      • AuditLog
  1. Websocket, Socket.IO & more

gRPC API

Apidog is a powerful tool for debugging gRPC APIs, facilitating efficient communication in microservices architectures. Below are the key steps to debug gRPC APIs using Apidog:
1.
Create a gRPC Project: On the Apidog homepage, click "New Project" and select "gRPC Project (Beta)."
2.
Import Proto Files: Since gRPC follows an API-first approach, you must first import the .proto file defining the API. Apidog supports local files or URLs for import and allows adding dependency directories. If the .proto file is updated, you can reimport it by right-clicking.
3.
Invocation Methods: Apidog supports four gRPC call types:
Unary: One-way call
Server Streaming: Server-side streaming
Client Streaming: Client-side streaming
Bidirectional Streaming: Bidirectional streaming
4.
Advanced Features:
Auto-generate Dynamic Values: Automatically generate message bodies or configure dynamic data.
Use Variables: Employ environment variables in messages and Metadata.
Enable TLS: Secure connections via the protocol selector or grpcs:// URL.
5.
Manage Server Addresses: Add frequently used server addresses to environment variables for centralized management.
6.
View Proto Files and Parameters: Apidog allows you to inspect the raw .proto file content and displays request/response parameters in JSON format for easier debugging.
7.
Save Debugging Data: After debugging, save the server URL, messages, and Metadata for team collaboration.
With its intuitive interface and robust features, Apidog is an excellent tool for debugging gRPC APIs, especially in scenarios requiring high-performance communication and complex data handling.
Learn more about debugging gRPC APIs in Apidog.
Modified at 2026-05-13 03:16:01
Previous
Payment Succeeded Event
Next
Other protocol API example
Built with