gRPC Client Example
Example 1: gRPC Client Snap with upstream Mapper Snap
The following example pipeline demonstrates how to send a gRPC request to the designated server for processing.
Configure the Mapper Snap as shown below:
Configure the gRPC Snap with the Server endpoint, gRPC service and gRPC method details.
On validation, the Snap executes the method, appends
Hello
to the input stream, and displays the following output response from the server.
Example 2: gRPC Client Snap with upstream JSON Generator Snap
Configure the JSON Generator Snap with some sample data.
[
{
"name" : "Doc Test"
}
]
Configure the gRPC Client Snap as shown below:
On validation, the Snap executes the method, appends
Hello
to the input stream, and displays the following output response from the server.
Downloads
Download and import the pipeline into the SnapLogic application.
Configure Snap accounts, as applicable.
Provide pipeline parameters, as applicable.
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.