AssumeColonVerbOpt1 [golang] grpc-gateway REST API Issue : last colon in URL occurs 'Not Found' Problem Statement Last colon in URL path causes 404 Not Found error // Example request GET http://example.com/api/v1/users/user:123 // Example response 404 Not Found Environment grpc-gateway for REST API golang grpc server Reason If you generated grpc-gateway using go:generate protoc, go to generated pb.pw.go file. Then you can find following function at pattern_ local variables. var pattern_Ser.. 2020. 11. 12. 이전 1 다음