Wireshark1 gRPC 통신을 Wireshark로 확인하기 개요 gRPC는 HTTP/2를 사용한다고 해서 패킷이 어떻게 생겼는지 궁금해졌다.다행히도 gRPC 문서에 wireshark 관련 글이 있어서 따라해보자!Wireshark 설정하기https://grpc.io/blog/wireshark/protobuf 검색 경로 설정 .proto 파일이 위치한 곳에 경로를 설정하고 “Load all Files” 체크합니다.패킷 캡처하기Localhost에서 주고받으므로 Loopback으로 지정한 후 패킷 캡처 시작.$ curl localhost:8080/v1/posts -XGET$ curl localhost:8080/v1/register -XPOST -H 'Content-Type: application/json' -d "{\"username\":\"journalctl2\",\.. 2025. 1. 12. 이전 1 다음