Buf(1) Buf(1) (NAME) buf-curl - RPC HTTP/gRPC buf (SYNOPSIS) buf curl [flags] (DESCRIPTION) RPC HTTP gRPC Connect . (server reflection) --reflect false . --schema (schema) (Protobuf) . (URL) RPC . URL (fully-qualified service name) . (URL) (scheme) http https . http HTTP 1.1 --http2-prior-knowledge . https HTTP/2 HTTP 1.1 HTTP/2 . RPC Connect . (gRPC gRPC-Web) --protocol . gRPC HTTP 1.1 . -d --data . . (@) . (-) (stdin) . JSON JSON . RPC (client-streaming) JSON . JSON (whitespace) JSON (object) JSON . ( ) -H --header . "name: value" . (@) ( ). (-) (stdin) . ( stdin ) . : RPC (unary) gRPC ( "h2c") Buf : $ buf curl --schema . --protocol grpc --http2-prior-knowledge \ http://localhost:20202/foo.bar.v1.FooService/DoSomething RPC Connect Buf : $ buf curl --schema buf.build/connectrpc/eliza \ --data '{"name": "Bob Loblaw"}' \ https://demo.connectrpc.com/connectrpc.eliza.v1.ElizaService/Introduce RPC (unary) : $ buf curl --data '{"sentence": "I am not feeling well."}' -v \ https://demo.connectrpc.com/connectrpc.eliza.v1.ElizaService/Say RPC (client-streaming) gRPC-web heredoc : $ buf curl --data @- --header @- --protocol grpcweb \ https://demo.connectrpc.com/connectrpc.eliza.v1.ElizaService/Converse \ < ( --reflect) HTTP 1.1 (bidirectional streaming) . URL URL . . RPC gRPC . (OPTIONS) --cacert="" X509 PEM / . . URL https . --insecure -k -E, --cert="" X509 PEM TLS. URL https . --key --connect-timeout=0 ( ) . -d, --data="" . JSON . RPC (unary) JSON . '@' . "-" stdin . (--header -H) . stdin (file descriptor set) stdin --emit-defaults[=false] JSON. -H, --header=[] RPC. . "name: value" . . "-" stdin . (--data -d) . stdin stdin -h, --help[=false] curl --http2-prior-knowledge[=false] HTTP/2 . URL http HTTP 1.1 URL https HTTP 1.1 HTTP/2 . HTTP/2 (plain-text). --http3[=false] HTTP/3 . URL http HTTP 1.1 URL https HTTP 1.1 HTTP/2 . HTTP/3 . -k, --insecure[=false] TLS . . URL https --keepalive-time=60 ( ) TCP keepalive --key="" X509 PEM TLS. URL https . --cert -E --list-methods[=false] . RPC URL URL . URL . --list-services[=false] . RPC URL URL . URL . -n, --netrc[=false] true .netrc . . URL . --user -u . --header -H 'Authorization' . --netrc-file="" --netrc -n .netrc . --netrc -n . --header -H 'Authorization' . --no-keepalive[=false] TCP keepalive . -o, --output="" . stdout --protocol="connect" RPC . "grpc" "grpcweb" "connect" --reflect[=true] true --reflect-header=[] . --reflect . . "name: value" . '*' ( --header -H) . '@' . "-" stdin . (--data -d) . stdin stdin --reflect-protocol="" . . . "Not Implemented" . "grpc- v1" "grpc-v1alpha" . . "grpc-v1" "grpc-v1alpha" . "grpc.reflection.v1.ServerReflection" "grpc.reflection.v1alpha.ServerReflection" --schema=[] RPC. . buf build generate . Buf ("-") (shell pipeline) . schema . --reflect=false reflect . schema reflect . --servername="" TLS ( SNI) URL https . URL "Host" ( ) --unix-socket="" TCP URL -u, --user="" . "username:password" . . .netrc . --header -H 'Authorization' . -A, --user-agent="" (user agent) . --header -H 'User-Agent' . -v, --verbose[=false] (OPTIONS INHERITED FROM PARENT COMMANDS) --debug[=false] (debug) --log-format="color" [text,color,json] --timeout=0s 0s (SEE ALSO) buf(1) (HISTORY) 2026-07-17 spf13/cobra Auto generated by spf13/cobra 2026-07-17 Buf(1)