This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# A curl wrapper intercepting gRPC calls and redirecting them to grpcurl | |
# | |
# Inspired by (amazing) JetBrains HTTP/gRPC client where "Convert to cURL" | |
# unfortunately pretends that gRPC calls can be handled by curl. | |
# Well now they can, with this wrapper. | |
# | |
# Example: | |
# |