How to send a gRPC request in Apidog?
Create a New gRPC Project

Import Proto
.proto
files. Therefore, before debugging gRPC APIs using Apidog, you need to import the .proto
file that serves as the API definition.Initial Import
.proto
files:.proto
file
.proto
file will be imported as one Proto, where the service will be imported as a service, and rpc will be imported as methods..proto
file depends on other .proto
files, you need to manually add the dependency directory..proto
files that the selected .proto
file depends on will also be imported into the same Proto if their package belongs to the same package as the selected .proto
file.Reimport
.proto
file undergoes changes, it can be reimported in Apidog: right-click on Proto, then click the "Reimport" button.
Invocation Methods
.proto
files, Apidog supports four types:Unary Call

Streaming Call

Advanced Usage
Auto-generate Dynamic Values
.proto
files, allowing you to click the "Auto-generate" button to generate the message body. For more flexible dynamic data, you can configure and generate expressions using the "Dynamic Values" feature.
Use Variables

Enable TLS
grpcs://
in the URL to enable TLS for the connection. Conversely, grpc://
indicates TLS is not enabled.
Manage Server Addresses and Environments


View Proto Files and API Parameters
View Proto File Content
.proto
file.
View Request and Response Parameters

ProtoBuf 3 | JSON | JSON Example |
---|---|---|
message | object | {"fooBar": v, "g": null, …} |
enum | string | "FOO_BAR" |
map<K,V> | object | {"k": v, …} |
repeated V | array | [v, …] |
bool | boolean | true, false |
string | string | "Hello World!" |
bytes | base64 string | "YWJjMTIzIT8kKiYoKSctPUB+" |
int32, fixed32, uint32 | number | 1, -10, 0 |
int64, fixed64, uint64 | string | "1", "-10" |
float, double | number | 1.1, -10.0, 0, "NaN", "Infinity" |
Save Debugging Information
Modified at 2024-11-20 11:53:50