Let me just write it down.

First download Wireshark, such as Homebrew

brew cask install wireshark
Copy the code

Find the protocol from preferences ->HTTP2 and set the port, as shown in the figure

Filter http2 protocol, such as the following simple GRPC service.

GRPC protocol can also be seen in the figure, or if TLS is not enabled, you can see the content directly.

If TLS is enabled, you can’t see the content, so you need another method.

Refer:

  1. Blog.cloudflare.com/tools-for-d…