We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's an upstream issue (grpc-ecosystem/grpc-gateway#195).
Just create here to keep track. This just returns without waiting.
curl -L http://localhost:2379/v3alpha/watch -X POST -d '{"create_request": {"key": "Zm9v"}}'
But can't reproduce with the same code:
package main import ( "bytes" "fmt" "reflect" "github.com/coreos/etcd/etcdserver/etcdserverpb" "github.com/grpc-ecosystem/grpc-gateway/runtime" ) func main() { var marshaler runtime.Marshaler marshaler = &runtime.JSONPb{} fmt.Println("reflect", reflect.TypeOf(marshaler)) bts := []byte(`{"create_request": {"key": "Zm9v"}}`) dec := marshaler.NewDecoder(bytes.NewReader(bts)) var protoReq etcdserverpb.WatchRequest err := dec.Decode(&protoReq) fmt.Println(protoReq, err) }
The text was updated successfully, but these errors were encountered:
It's about how we send POST request (cURL, ...). Will close upstream issue as well. Update grpc-gateway dependency to the latest.
POST
Sorry, something went wrong.
This is now fixed via #6864.
No branches or pull requests
It's an upstream issue (grpc-ecosystem/grpc-gateway#195).
Just create here to keep track. This just returns without waiting.
But can't reproduce with the same code:
The text was updated successfully, but these errors were encountered: